Real-World Anomaly Detection by Using Digital Twin Systems and Weakly Supervised Learning