Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y.V.1.|probe_Y.V.2.|probe_Y.V.3.|probeD.V.1.|probeD.V.2.|probeD.V.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y.V.1.|probe_Y.V.2.|probe_Y.V.3.|probeD.V.1.|probeD.V.2.|probeD.V.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.345/1.345, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 172.5 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.873/1.873, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00099/0.0009904, allocations: 90.38 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003849, allocations: 9.594 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2364, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.4338, allocations: 150.3 MB / 1.047 GB, free: 9.406 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.4341, allocations: 103.9 kB / 1.047 GB, free: 9.305 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5387/0.9728, allocations: 35.6 MB / 1.082 GB, free: 145.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9728, allocations: 0 / 1.082 GB, free: 145.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.659e-05/0.9729, allocations: 29.81 kB / 1.082 GB, free: 145.9 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.004073/0.977, allocations: 1.149 MB / 1.083 GB, free: 145.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.9771, allocations: 13.17 kB / 1.083 GB, free: 145.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002259/0.9793, allocations: 265.8 kB / 1.083 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/0.9817, allocations: 0.7214 MB / 1.084 GB, free: 144.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.9818, allocations: 91.34 kB / 1.084 GB, free: 144.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005552/0.9824, allocations: 123.6 kB / 1.084 GB, free: 144.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004302/0.9867, allocations: 1.923 MB / 1.086 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.9867, allocations: 0 / 1.086 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/0.987, allocations: 53.44 kB / 1.086 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.724e-05/0.987, allocations: 60.5 kB / 1.086 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002684/0.9897, allocations: 1.65 MB / 1.088 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/1.001, allocations: 7.697 MB / 1.095 GB, free: 137.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/1.001, allocations: 126.3 kB / 1.095 GB, free: 137 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/1.001, allocations: 89.16 kB / 1.095 GB, free: 136.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/1.001, allocations: 34.69 kB / 1.095 GB, free: 136.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.766e-06/1.001, allocations: 0 / 1.095 GB, free: 136.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0007193/1.002, allocations: 272.8 kB / 1.096 GB, free: 136.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/1.002, allocations: 132.5 kB / 1.096 GB, free: 136.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/1.003, allocations: 0.8332 MB / 1.097 GB, free: 135.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/1.003, allocations: 33.64 kB / 1.097 GB, free: 135.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007376/1.004, allocations: 0.7584 MB / 1.097 GB, free: 134.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/1.004, allocations: 59.53 kB / 1.097 GB, free: 134.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.54e-05/1.004, allocations: 20 kB / 1.097 GB, free: 134.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002332/1.005, allocations: 379.1 kB / 1.098 GB, free: 134.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007116/1.005, allocations: 418.3 kB / 1.098 GB, free: 133.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/1.006, allocations: 1.161 MB / 1.099 GB, free: 132.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/1.008, allocations: 0.7219 MB / 1.1 GB, free: 131.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.116e-05/1.008, allocations: 8 kB / 1.1 GB, free: 131.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002726/1.01, allocations: 1.538 MB / 1.102 GB, free: 130.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/1.01, allocations: 20 kB / 1.102 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/1.01, allocations: 24 kB / 1.102 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.502e-05/1.011, allocations: 40 kB / 1.102 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008453/1.011, allocations: 279.5 kB / 1.102 GB, free: 129.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.803e-05/1.011, allocations: 51.8 kB / 1.102 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/1.013, allocations: 194.8 kB / 1.102 GB, free: 129.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/1.013, allocations: 75.98 kB / 1.102 GB, free: 129.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001158/1.014, allocations: 0.6335 MB / 1.103 GB, free: 128.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/1.014, allocations: 63.55 kB / 1.103 GB, free: 128.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/1.015, allocations: 141.7 kB / 1.103 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.015, allocations: 0 / 1.103 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.015, allocations: 0 / 1.103 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.015, allocations: 4 kB / 1.103 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/1.016, allocations: 0.7628 MB / 1.104 GB, free: 127.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.016, allocations: 0 / 1.104 GB, free: 127.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.034e-05/1.017, allocations: 7.984 kB / 1.104 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/1.017, allocations: 7.953 kB / 1.104 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/1.017, allocations: 4 kB / 1.104 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/1.017, allocations: 0 / 1.104 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.017, allocations: 4 kB / 1.104 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/1.017, allocations: 388.8 kB / 1.104 GB, free: 127.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/1.017, allocations: 164.4 kB / 1.104 GB, free: 127.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.545e-05/1.017, allocations: 0 / 1.104 GB, free: 127.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/1.018, allocations: 11.98 kB / 1.104 GB, free: 127.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/1.018, allocations: 0 / 1.104 GB, free: 127.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/1.018, allocations: 4 kB / 1.104 GB, free: 127.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006646/1.018, allocations: 0.6356 MB / 1.105 GB, free: 126.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.018, allocations: 4 kB / 1.105 GB, free: 126.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001238/1.019, allocations: 291 kB / 1.105 GB, free: 126.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001669/1.02, allocations: 131 kB / 1.105 GB, free: 126.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008266/1.02, allocations: 0.7125 MB / 1.106 GB, free: 125.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.02, allocations: 0 / 1.106 GB, free: 125.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.021e-05/1.021, allocations: 16 kB / 1.106 GB, free: 125.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/1.021, allocations: 50.31 kB / 1.106 GB, free: 125.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/1.023, allocations: 1.984 MB / 1.108 GB, free: 123.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007017/1.024, allocations: 1.304 MB / 1.109 GB, free: 121.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006995/1.025, allocations: 369.2 kB / 1.11 GB, free: 121.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.954e-05/1.025, allocations: 43.44 kB / 1.11 GB, free: 121.5 MB / 0.698 GB Notification: Performance of SimCode: time 8.81e-07/1.025, allocations: 0 / 1.11 GB, free: 121.5 MB / 0.698 GB Notification: Performance of Templates: time 0.00939/1.034, allocations: 4.69 MB / 1.114 GB, free: 116.9 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches