Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001473/0.001473, allocations: 192 kB / 16.14 MB, free: 6.711 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.381/1.381, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.922/2.922, allocations: 472.6 MB / 0.7447 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.97 kB / 0.9114 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.387, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01334/0.4004, allocations: 11.07 MB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.008969/0.4094, allocations: 5.859 MB / 1.084 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.4107, allocations: 43.69 kB / 1.084 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003877/0.4146, allocations: 1.626 MB / 1.086 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003021/0.4176, allocations: 1.066 MB / 1.087 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.4198, allocations: 0.7363 MB / 1.087 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003449/0.4232, allocations: 2.852 MB / 1.09 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002095/0.4253, allocations: 1.313 MB / 1.092 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.427, allocations: 0.7546 MB / 1.092 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.4283, allocations: 0.9299 MB / 1.093 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001768/0.4285, allocations: 84 kB / 1.093 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002796/0.4313, allocations: 1.466 MB / 1.095 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005664/0.4319, allocations: 0.4907 MB / 1.095 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008582/0.4328, allocations: 0.7536 MB / 1.096 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002997/0.4358, allocations: 2.445 MB / 1.098 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.4358, allocations: 0 / 1.098 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.001e-06/0.4358, allocations: 3.938 kB / 1.098 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.912e-05/0.4358, allocations: 0 / 1.098 GB, free: 11.27 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.00284/0.4387, allocations: 1.868 MB / 1.1 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.4387, allocations: 12.03 kB / 1.1 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004447/0.4432, allocations: 0.6698 MB / 1.101 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.4447, allocations: 0.9185 MB / 1.102 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.829e-05/0.4448, allocations: 90.89 kB / 1.102 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.445, allocations: 128.3 kB / 1.102 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003263/0.4483, allocations: 2.206 MB / 1.104 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.604e-05/0.4484, allocations: 19.86 kB / 1.104 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/0.4485, allocations: 55.97 kB / 1.104 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002102/0.4487, allocations: 162.3 kB / 1.104 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003036/0.4518, allocations: 1.871 MB / 1.106 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01355/0.4653, allocations: 12.47 MB / 1.118 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004434/0.4698, allocations: 1.975 MB / 1.12 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008371/0.4707, allocations: 0.605 MB / 1.121 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/0.4709, allocations: 98.09 kB / 1.121 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.4709, allocations: 51.55 kB / 1.121 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=103): time 3.727e-06/0.4709, allocations: 0 / 1.121 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of matching and sorting (n=110): time 0.006167/0.4771, allocations: 3.706 MB / 1.125 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.4772, allocations: 64.41 kB / 1.125 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.4783, allocations: 0.9242 MB / 1.126 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.012e-05/0.4784, allocations: 41.7 kB / 1.126 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005045/0.4789, allocations: 0.7276 MB / 1.126 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.4792, allocations: 382.5 kB / 1.127 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003827/0.4796, allocations: 291.2 kB / 1.127 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4797, allocations: 301.1 kB / 1.127 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008782/0.4806, allocations: 0.6129 MB / 1.128 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.4818, allocations: 1.109 MB / 1.129 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/0.484, allocations: 1.832 MB / 1.131 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.484, allocations: 4 kB / 1.131 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00328/0.4873, allocations: 2.099 MB / 1.133 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.4874, allocations: 13.25 kB / 1.133 GB, free: 5.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.4874, allocations: 16 kB / 1.133 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008102/0.4882, allocations: 259.4 kB / 1.133 GB, free: 5.688 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.4894, allocations: 371.4 kB / 1.133 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008054/0.4975, allocations: 10.77 MB / 1.144 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.4987, allocations: 127.8 kB / 1.144 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.4988, allocations: 68 kB / 1.144 GB, free: 9.297 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006877/0.4995, allocations: 405.3 kB / 1.144 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.4997, allocations: 130.4 kB / 1.145 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002875/0.5026, allocations: 1.677 MB / 1.146 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.5026, allocations: 19.88 kB / 1.146 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/0.5026, allocations: 7.938 kB / 1.146 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.5026, allocations: 7.969 kB / 1.146 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005077/0.5077, allocations: 3.292 MB / 1.149 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.5078, allocations: 8.125 kB / 1.149 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008173/0.5086, allocations: 223.6 kB / 1.15 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007235/0.5093, allocations: 250.5 kB / 1.15 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-05/0.5094, allocations: 28 kB / 1.15 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008621/0.518, allocations: 10.74 MB / 1.16 GB, free: 7.246 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/0.5181, allocations: 7.938 kB / 1.16 GB, free: 7.238 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003224/0.5213, allocations: 1.796 MB / 1.162 GB, free: 5.336 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005944/0.5219, allocations: 303.5 kB / 1.162 GB, free: 5.02 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.5221, allocations: 31.91 kB / 1.163 GB, free: 4.988 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006996/0.5228, allocations: 99.81 kB / 1.163 GB, free: 4.891 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/0.5231, allocations: 92.7 kB / 1.163 GB, free: 4.801 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.231e-05/0.5232, allocations: 35.98 kB / 1.163 GB, free: 4.766 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001012/0.5242, allocations: 0.6216 MB / 1.163 GB, free: 4.137 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5242, allocations: 0 / 1.163 GB, free: 4.137 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002054/0.5263, allocations: 392 kB / 1.164 GB, free: 3.754 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003509/0.5266, allocations: 147 kB / 1.164 GB, free: 3.598 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004106/0.5307, allocations: 2.488 MB / 1.166 GB, free: 1.004 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/0.5308, allocations: 0 / 1.166 GB, free: 1.004 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002294/0.5331, allocations: 1.626 MB / 1.168 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/0.5351, allocations: 334.8 kB / 1.168 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005104/0.5402, allocations: 3.376 MB / 1.171 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.5413, allocations: 1.327 MB / 1.173 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001202/0.5425, allocations: 359.3 kB / 1.173 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/0.5429, allocations: 103.3 kB / 1.173 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of SimCode: time 8.42e-07/0.5429, allocations: 0 / 1.173 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of Templates: time 0.02807/0.5709, allocations: 16.45 MB / 1.189 GB, free: 9.363 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches