Severe weather has caused chaos across the state with intense rain stranding light rail passengers in Randwick and causing a roof collapse near Penrith overnight.