The IAEA resolution passed Saturday in Vienna accuses Tehran of violating the Nuclear Non-Proliferation Treaty by failing to comply with international nuclear safeguard agreements .