Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.238/2.238, allocations: 390.5 MB / 398 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 184.8 kB / 491.2 MB, free: 1.559 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 221.5 MB / 0.7868 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 91.88 kB / 0.9269 GB, free: 13.74 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.977e-05/1.982e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2945, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.001/1.296, allocations: 168.2 MB / 1.377 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/1.296, allocations: 95.95 kB / 1.377 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07786/1.374, allocations: 37.56 MB / 1.413 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.034e-06/1.374, allocations: 0 / 1.413 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.424e-05/1.374, allocations: 23.94 kB / 1.413 GB, free: 13.78 MB / 0.8386 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.003047/1.377, allocations: 1.152 MB / 1.414 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/1.377, allocations: 8.031 kB / 1.414 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/1.379, allocations: 266.4 kB / 1.415 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/1.38, allocations: 0.7114 MB / 1.415 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.542e-05/1.38, allocations: 40 kB / 1.415 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003398/1.381, allocations: 68 kB / 1.416 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002739/1.384, allocations: 1.466 MB / 1.417 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003344/1.387, allocations: 1.73 MB / 1.419 GB, free: 9.566 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/1.387, allocations: 0 / 1.419 GB, free: 9.566 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/1.387, allocations: 0 / 1.419 GB, free: 9.566 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-05/1.387, allocations: 54.06 kB / 1.419 GB, free: 9.512 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009233/1.396, allocations: 7.373 MB / 1.426 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/1.397, allocations: 124 kB / 1.426 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.526e-05/1.397, allocations: 73.83 kB / 1.426 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/1.397, allocations: 89.09 kB / 1.426 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/1.397, allocations: 45.3 kB / 1.426 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 2.254e-06/1.397, allocations: 0 / 1.426 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0006467/1.398, allocations: 255 kB / 1.426 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/1.398, allocations: 132.5 kB / 1.427 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/1.399, allocations: 0.7978 MB / 1.427 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/1.399, allocations: 29.7 kB / 1.427 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005215/1.399, allocations: 0.7548 MB / 1.428 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/1.399, allocations: 56.03 kB / 1.428 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/1.399, allocations: 0 / 1.428 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001715/1.399, allocations: 375.7 kB / 1.429 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005343/1.4, allocations: 389.5 kB / 1.429 GB, free: 380 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/1.401, allocations: 1.119 MB / 1.43 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/1.402, allocations: 0.786 MB / 1.431 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.801e-05/1.403, allocations: 8 kB / 1.431 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002534/1.405, allocations: 1.441 MB / 1.432 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/1.405, allocations: 16 kB / 1.432 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.903e-05/1.405, allocations: 28 kB / 1.432 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.2e-05/1.405, allocations: 40 kB / 1.432 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008604/1.406, allocations: 281.3 kB / 1.433 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.344e-05/1.406, allocations: 51.8 kB / 1.433 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/1.407, allocations: 170.8 kB / 1.433 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/1.407, allocations: 73.98 kB / 1.433 GB, free: 12.64 MB / 0.8542 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 () * 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.0002131/1.408, allocations: 172.1 kB / 1.433 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/1.408, allocations: 59.3 kB / 1.433 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/1.408, allocations: 138.2 kB / 1.433 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.408, allocations: 4 kB / 1.433 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.408, allocations: 3.938 kB / 1.433 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/1.408, allocations: 0 / 1.433 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/1.409, allocations: 0.499 MB / 1.434 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.409, allocations: 3.938 kB / 1.434 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.777e-05/1.409, allocations: 4 kB / 1.434 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/1.409, allocations: 0 / 1.434 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/1.409, allocations: 7.953 kB / 1.434 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.409, allocations: 4 kB / 1.434 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.409, allocations: 0 / 1.434 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/1.41, allocations: 388.7 kB / 1.434 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/1.41, allocations: 161.6 kB / 1.434 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/1.41, allocations: 0 / 1.434 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/1.41, allocations: 15.97 kB / 1.434 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/1.41, allocations: 0 / 1.434 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/1.41, allocations: 4 kB / 1.434 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007041/1.411, allocations: 0.6009 MB / 1.435 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.81e-07/1.411, allocations: 0 / 1.435 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001266/1.412, allocations: 275 kB / 1.435 GB, free: 10.54 MB / 0.8542 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 () * 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.0002138/1.412, allocations: 114.4 kB / 1.435 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009849/1.413, allocations: 0.6549 MB / 1.436 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.413, allocations: 0 / 1.436 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.35e-05/1.413, allocations: 11.5 kB / 1.436 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/1.414, allocations: 46.61 kB / 1.436 GB, free: 9.887 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/1.416, allocations: 1.276 MB / 1.437 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/1.417, allocations: 1.303 MB / 1.438 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000834/1.418, allocations: 373.2 kB / 1.439 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.961e-05/1.418, allocations: 47.42 kB / 1.439 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of SimCode: time 3.31e-07/1.418, allocations: 0 / 1.439 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of Templates: time 0.01092/1.429, allocations: 4.448 MB / 1.443 GB, free: 2.758 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches