Graph-Based Simulation For Cyber-Physical Attacks On Smart Buildings