Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008595/0.008595, allocations: 100.2 kB / 15.73 MB, free: 6.047 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.001393/0.001393, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.408/2.408, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.11 kB / 0.9508 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3084, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007028/0.3155, allocations: 5.202 MB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002576/0.3181, allocations: 1.687 MB / 1.095 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.3183, allocations: 12 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.3197, allocations: 0.5179 MB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.3201, allocations: 247 kB / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.3207, allocations: 235.5 kB / 1.096 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001549/0.3222, allocations: 1.672 MB / 1.097 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002581/0.3248, allocations: 2.539 MB / 1.1 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.3259, allocations: 0.7716 MB / 1.101 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.327, allocations: 0.935 MB / 1.101 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002337/0.3272, allocations: 192 kB / 1.102 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005792/0.3278, allocations: 311.8 kB / 1.102 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006397/0.3285, allocations: 0.737 MB / 1.103 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006643/0.3291, allocations: 0.7123 MB / 1.103 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002434/0.3316, allocations: 2.653 MB / 1.106 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3316, allocations: 3.938 kB / 1.106 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3316, allocations: 0 / 1.106 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.987e-05/0.3316, allocations: 0 / 1.106 GB, free: 14.99 MB / 0.8731 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.002493/0.3341, allocations: 1.363 MB / 1.107 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.3342, allocations: 12.02 kB / 1.107 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.3357, allocations: 303.3 kB / 1.108 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.3368, allocations: 0.7175 MB / 1.108 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.787e-05/0.3369, allocations: 106.8 kB / 1.108 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.337, allocations: 116.4 kB / 1.108 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003176/0.3402, allocations: 2.141 MB / 1.111 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.3403, allocations: 0 / 1.111 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.3404, allocations: 44 kB / 1.111 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-05/0.3405, allocations: 58.06 kB / 1.111 GB, free: 10 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/0.3432, allocations: 1.871 MB / 1.112 GB, free: 8.125 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008391/0.3516, allocations: 7.662 MB / 1.12 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.3518, allocations: 130.3 kB / 1.12 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.234e-05/0.3519, allocations: 83.44 kB / 1.12 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.352, allocations: 93.08 kB / 1.12 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.352, allocations: 42.56 kB / 1.12 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=9): time 2.725e-06/0.3521, allocations: 0 / 1.12 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of matching and sorting (n=9): time 0.0005294/0.3526, allocations: 268.8 kB / 1.121 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.004e-05/0.3527, allocations: 128.5 kB / 1.121 GB, free: 15 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.3538, allocations: 0.9122 MB / 1.122 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3538, allocations: 26.08 kB / 1.122 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004785/0.3543, allocations: 0.7586 MB / 1.122 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.3543, allocations: 63.5 kB / 1.122 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/0.3547, allocations: 262.4 kB / 1.123 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3548, allocations: 370.8 kB / 1.123 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005304/0.3554, allocations: 434.2 kB / 1.123 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.3564, allocations: 1.169 MB / 1.125 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.358, allocations: 1.589 MB / 1.126 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/0.358, allocations: 19.88 kB / 1.126 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002049/0.3601, allocations: 1.55 MB / 1.128 GB, free: 7.078 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.3601, allocations: 17.56 kB / 1.128 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/0.3601, allocations: 24 kB / 1.128 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.77e-05/0.3602, allocations: 36 kB / 1.128 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008003/0.361, allocations: 279.5 kB / 1.128 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-05/0.3611, allocations: 52.34 kB / 1.128 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007434/0.3618, allocations: 194.3 kB / 1.128 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.86e-05/0.3619, allocations: 72 kB / 1.128 GB, free: 6.418 MB / 0.8887 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.0007325/0.3626, allocations: 0.6412 MB / 1.129 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.3628, allocations: 63.33 kB / 1.129 GB, free: 5.703 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.363, allocations: 133.7 kB / 1.129 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.363, allocations: 0 / 1.129 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3631, allocations: 0 / 1.129 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3631, allocations: 7.984 kB / 1.129 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009812/0.364, allocations: 0.7706 MB / 1.13 GB, free: 4.723 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3641, allocations: 0 / 1.13 GB, free: 4.723 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.3641, allocations: 4 kB / 1.13 GB, free: 4.719 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.3641, allocations: 4 kB / 1.13 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3641, allocations: 0 / 1.13 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3641, allocations: 0 / 1.13 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3641, allocations: 4 kB / 1.13 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.3644, allocations: 369.3 kB / 1.13 GB, free: 4.332 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.3645, allocations: 128.5 kB / 1.13 GB, free: 4.188 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.511e-05/0.3646, allocations: 0 / 1.13 GB, free: 4.188 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.3649, allocations: 15.97 kB / 1.13 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/0.3649, allocations: 8 kB / 1.13 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.3649, allocations: 4 kB / 1.13 GB, free: 4.16 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007237/0.3656, allocations: 0.6434 MB / 1.131 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3656, allocations: 0 / 1.131 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009943/0.3666, allocations: 286.8 kB / 1.131 GB, free: 3.234 MB / 0.8887 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.0002052/0.3668, allocations: 103.2 kB / 1.131 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.3678, allocations: 0.7204 MB / 1.132 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.3679, allocations: 0 / 1.132 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.538e-05/0.3679, allocations: 24.17 kB / 1.132 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.3684, allocations: 42.94 kB / 1.132 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.3708, allocations: 1.631 MB / 1.134 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009343/0.3717, allocations: 1.284 MB / 1.135 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006937/0.3724, allocations: 361.2 kB / 1.135 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.3725, allocations: 47.44 kB / 1.135 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of SimCode: time 4e-07/0.3725, allocations: 0 / 1.135 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of Templates: time 0.01029/0.3828, allocations: 5.044 MB / 1.14 GB, free: 9.926 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches