Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001825/0.001826, allocations: 106.1 kB / 15.98 MB, free: 6.285 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.001895/0.001895, allocations: 200.9 kB / 16.91 MB, free: 6.141 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.348/1.348, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.541/2.541, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 71.8 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3123, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.4988/0.8111, allocations: 20.27 MB / 1.084 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01056/0.8217, allocations: 7.614 MB / 1.091 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/0.8234, allocations: 51.53 kB / 1.091 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002914/0.8264, allocations: 1.268 MB / 1.093 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002293/0.8287, allocations: 0.9214 MB / 1.094 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004284/0.833, allocations: 1.857 MB / 1.095 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005257/0.8383, allocations: 4.342 MB / 1.1 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009368/0.8477, allocations: 7.334 MB / 1.107 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003098/0.8508, allocations: 1.866 MB / 1.109 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00362/0.8544, allocations: 2.308 MB / 1.111 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001023/0.8555, allocations: 427.8 kB / 1.111 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/0.8577, allocations: 0.9453 MB / 1.112 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001877/0.8596, allocations: 1.658 MB / 1.114 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00214/0.8618, allocations: 1.713 MB / 1.115 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006582/0.8684, allocations: 5.319 MB / 1.121 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.8684, allocations: 0 / 1.121 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8684, allocations: 0 / 1.121 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001627/0.8686, allocations: 1.062 kB / 1.121 GB, free: 14.23 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.007958/0.8765, allocations: 3.047 MB / 1.124 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.8766, allocations: 10.41 kB / 1.124 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003762/0.8803, allocations: 0.7411 MB / 1.124 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/0.8831, allocations: 1.545 MB / 1.126 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.8833, allocations: 220.3 kB / 1.126 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004995/0.8838, allocations: 286.2 kB / 1.126 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.8941, allocations: 5.084 MB / 1.131 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.091e-05/0.8942, allocations: 6.719 kB / 1.131 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003833/0.8946, allocations: 126.6 kB / 1.131 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002527/0.8949, allocations: 215.4 kB / 1.132 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007762/0.9026, allocations: 4.226 MB / 1.136 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02777/0.9304, allocations: 23.06 MB / 1.158 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/0.9334, allocations: 1.741 MB / 1.16 GB, free: 1.328 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/0.9351, allocations: 1.139 MB / 1.161 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.9353, allocations: 107.2 kB / 1.161 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.9353, allocations: 43.59 kB / 1.161 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 2.675e-06/0.9353, allocations: 0 / 1.161 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.006442/0.9418, allocations: 4.015 MB / 1.165 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.799e-05/0.9419, allocations: 138.2 kB / 1.165 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.9431, allocations: 0.8678 MB / 1.166 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.302e-05/0.9432, allocations: 41.83 kB / 1.166 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007798/0.944, allocations: 1.161 MB / 1.167 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003049/0.9443, allocations: 308.7 kB / 1.168 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004511/0.9448, allocations: 276.4 kB / 1.168 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000216/0.945, allocations: 407.5 kB / 1.168 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.9462, allocations: 0.8198 MB / 1.169 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.9478, allocations: 1.317 MB / 1.17 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002745/0.9506, allocations: 2.169 MB / 1.172 GB, free: 8.566 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.9506, allocations: 4.562 kB / 1.172 GB, free: 8.566 MB / 0.8887 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003588/0.9542, allocations: 2.207 MB / 1.175 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.9542, allocations: 12 kB / 1.175 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.9542, allocations: 12 kB / 1.175 GB, free: 6.453 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.63e-05/0.9543, allocations: 24.78 kB / 1.175 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/0.9559, allocations: 419.3 kB / 1.175 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-05/0.956, allocations: 31.86 kB / 1.175 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.9574, allocations: 211.3 kB / 1.175 GB, free: 5.781 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.9576, allocations: 63.98 kB / 1.175 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002965/0.9605, allocations: 1.678 MB / 1.177 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001512/0.962, allocations: 1.19 MB / 1.178 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002531/0.9646, allocations: 1.898 MB / 1.18 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.191e-05/0.9646, allocations: 11.92 kB / 1.18 GB, free: 500 kB / 0.8887 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003132/0.9677, allocations: 1.926 MB / 1.182 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.9678, allocations: 16.06 kB / 1.182 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.9678, allocations: 16 kB / 1.182 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.9678, allocations: 20 kB / 1.182 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.9692, allocations: 371.3 kB / 1.182 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.472e-05/0.9692, allocations: 31.86 kB / 1.182 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.9705, allocations: 179.3 kB / 1.183 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.984e-05/0.9706, allocations: 59.98 kB / 1.183 GB, free: 13.88 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.0003542/0.9709, allocations: 267.8 kB / 1.183 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/0.9712, allocations: 102.7 kB / 1.183 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002963/0.9742, allocations: 1.858 MB / 1.185 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.9742, allocations: 8 kB / 1.185 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.9742, allocations: 4.188 kB / 1.185 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.9742, allocations: 3.984 kB / 1.185 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/0.9871, allocations: 9.585 MB / 1.194 GB, free: 1.777 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.9872, allocations: 12 kB / 1.194 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.9884, allocations: 315.4 kB / 1.194 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/0.9884, allocations: 16 kB / 1.194 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.72e-05/0.9885, allocations: 24 kB / 1.194 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.236e-05/0.9885, allocations: 27.86 kB / 1.195 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.29e-05/0.9886, allocations: 15.94 kB / 1.195 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002976/0.9915, allocations: 2.41 MB / 1.197 GB, free: 14.8 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006547/0.9922, allocations: 375.6 kB / 1.197 GB, free: 14.42 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.9924, allocations: 28 kB / 1.197 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000963/0.9933, allocations: 151.8 kB / 1.197 GB, free: 14.24 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.9935, allocations: 95.59 kB / 1.198 GB, free: 14.15 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.738e-05/0.9936, allocations: 36 kB / 1.198 GB, free: 14.11 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009046/0.9945, allocations: 0.6122 MB / 1.198 GB, free: 13.51 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9945, allocations: 0 / 1.198 GB, free: 13.51 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002623/0.9972, allocations: 0.7578 MB / 1.199 GB, free: 12.75 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * 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.0002543/0.9974, allocations: 142.9 kB / 1.199 GB, free: 12.6 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004656/1.002, allocations: 3.046 MB / 1.202 GB, free: 9.562 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/1.002, allocations: 4 kB / 1.202 GB, free: 9.559 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/1.003, allocations: 0.9074 MB / 1.203 GB, free: 8.652 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/1.005, allocations: 309.5 kB / 1.203 GB, free: 8.367 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009369/1.015, allocations: 6.654 MB / 1.21 GB, free: 1.52 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002242/1.017, allocations: 2.195 MB / 1.212 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005873/1.017, allocations: 99.41 kB / 1.212 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of SimCode: time 1.082e-06/1.017, allocations: 0 / 1.212 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of Templates: time 0.04181/1.059, allocations: 28.1 MB / 1.239 GB, free: 3.18 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches