Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00666/0.00666, allocations: 100.2 kB / 15.73 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001487, allocations: 198.8 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.776/2.776, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.91 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3519, allocations: 151.6 MB / 1.167 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007542/0.3595, allocations: 5.206 MB / 1.172 GB, free: 1.617 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003318/0.3629, allocations: 1.695 MB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002645/0.3632, allocations: 12 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.3647, allocations: 0.5134 MB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007358/0.3654, allocations: 251 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000694/0.3662, allocations: 235.5 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001962/0.3681, allocations: 1.68 MB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003508/0.3717, allocations: 2.535 MB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.3734, allocations: 0.7794 MB / 1.179 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.3749, allocations: 0.9273 MB / 1.18 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002898/0.3752, allocations: 192 kB / 1.18 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007589/0.3759, allocations: 319.7 kB / 1.181 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007092/0.3767, allocations: 0.7331 MB / 1.181 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007248/0.3774, allocations: 0.7161 MB / 1.182 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.3798, allocations: 2.656 MB / 1.185 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3798, allocations: 0 / 1.185 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3798, allocations: 0 / 1.185 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.099e-05/0.3799, allocations: 0 / 1.185 GB, free: 4.328 MB / 0.9356 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.002469/0.3824, allocations: 1.389 MB / 1.186 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.3824, allocations: 19.92 kB / 1.186 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.3839, allocations: 311.9 kB / 1.186 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.3854, allocations: 0.7253 MB / 1.187 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-05/0.3855, allocations: 90.88 kB / 1.187 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.3857, allocations: 120.4 kB / 1.187 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003263/0.389, allocations: 2.141 MB / 1.189 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.389, allocations: 0 / 1.189 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.3892, allocations: 52 kB / 1.189 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.689e-05/0.3892, allocations: 54.06 kB / 1.189 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002735/0.392, allocations: 1.867 MB / 1.191 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009018/0.401, allocations: 7.68 MB / 1.199 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.4012, allocations: 126.3 kB / 1.199 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.332e-05/0.4013, allocations: 83.5 kB / 1.199 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.4015, allocations: 93.08 kB / 1.199 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.4015, allocations: 38.5 kB / 1.199 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.4015, allocations: 0 / 1.199 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0005545/0.4021, allocations: 281.4 kB / 1.199 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.597e-05/0.4021, allocations: 136.5 kB / 1.199 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.4032, allocations: 0.9085 MB / 1.2 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.4032, allocations: 25.7 kB / 1.2 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000517/0.4038, allocations: 0.7894 MB / 1.201 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.4038, allocations: 59.69 kB / 1.201 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003375/0.4042, allocations: 266.7 kB / 1.201 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4043, allocations: 370.8 kB / 1.202 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005342/0.4049, allocations: 434.3 kB / 1.202 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.4059, allocations: 1.161 MB / 1.203 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.4076, allocations: 1.602 MB / 1.205 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/0.4076, allocations: 11.94 kB / 1.205 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002111/0.4097, allocations: 1.539 MB / 1.206 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.4097, allocations: 20.25 kB / 1.206 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/0.4098, allocations: 28 kB / 1.206 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.111e-05/0.4098, allocations: 32 kB / 1.206 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007977/0.4106, allocations: 283.4 kB / 1.207 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.122e-05/0.4107, allocations: 55.78 kB / 1.207 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007835/0.4115, allocations: 194.7 kB / 1.207 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.965e-05/0.4116, allocations: 72 kB / 1.207 GB, free: 11.67 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007629/0.4123, allocations: 0.6452 MB / 1.208 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.4125, allocations: 55.67 kB / 1.208 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.4127, allocations: 129.7 kB / 1.208 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4128, allocations: 0 / 1.208 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4128, allocations: 0 / 1.208 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4128, allocations: 4 kB / 1.208 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.4138, allocations: 0.7783 MB / 1.209 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4138, allocations: 3.938 kB / 1.209 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.4139, allocations: 7.938 kB / 1.209 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4139, allocations: 4 kB / 1.209 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.4139, allocations: 256 / 1.209 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4139, allocations: 0 / 1.209 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.4139, allocations: 8 kB / 1.209 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.4142, allocations: 369.7 kB / 1.209 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.4143, allocations: 132.8 kB / 1.209 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-05/0.4144, allocations: 4 kB / 1.209 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.4147, allocations: 19.91 kB / 1.209 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.4147, allocations: 4 kB / 1.209 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.4147, allocations: 0 / 1.209 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007338/0.4155, allocations: 0.6395 MB / 1.21 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4155, allocations: 0 / 1.21 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001053/0.4165, allocations: 291.2 kB / 1.21 GB, free: 8.477 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001531/0.4167, allocations: 103.2 kB / 1.21 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009241/0.4176, allocations: 0.7194 MB / 1.211 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4176, allocations: 0 / 1.211 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.657e-05/0.4177, allocations: 23.92 kB / 1.211 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.4182, allocations: 40.44 kB / 1.211 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.4206, allocations: 1.657 MB / 1.213 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009247/0.4215, allocations: 1.288 MB / 1.214 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006674/0.4222, allocations: 365.3 kB / 1.214 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.284e-05/0.4223, allocations: 43.44 kB / 1.214 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of SimCode: time 7.32e-07/0.4223, allocations: 4 kB / 1.214 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of Templates: time 0.0104/0.4327, allocations: 5.275 MB / 1.219 GB, free: 14.91 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches