Rob,
Sorry to have impugned your intelligence!

Looking at your diagrams:
If you're dropping nearly 12v across R1 with SW1 open there is something seriously wrong! The collector of Q1 should be at the full 24v. On reflection there should be a pull-down resistor (10k would do) on the base of Q1 to hold it to 0v when the contacts are open, otherwise the base is left floating which should never be allowed to happen. I suspect your emulation software has picked up on that fault and is allowing Q1 to partially conduct.