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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001373/0.001373, allocations: 90.34 kB / 15.06 MB, free: 1.078 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.00197/0.00197, allocations: 176.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.613/1.613, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.994/2.994, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 14.95 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3812, allocations: 159.6 MB / 1.058 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01133/0.3927, allocations: 9.961 MB / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008887/0.4016, allocations: 5.453 MB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.4031, allocations: 43.62 kB / 1.073 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.4042, allocations: 238 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00351/0.4077, allocations: 0.8941 MB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.4102, allocations: 0.5932 MB / 1.075 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003869/0.4141, allocations: 2.356 MB / 1.077 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005412/0.4195, allocations: 2.152 MB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/0.4214, allocations: 0.6962 MB / 1.08 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002292/0.4237, allocations: 0.8288 MB / 1.081 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004918/0.4242, allocations: 60 kB / 1.081 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/0.4264, allocations: 0.6046 MB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000836/0.4273, allocations: 454.6 kB / 1.082 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0007166/0.428, allocations: 300.8 kB / 1.082 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003115/0.4311, allocations: 1.8 MB / 1.084 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4312, allocations: 0 / 1.084 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.497e-06/0.4312, allocations: 0 / 1.084 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.335e-05/0.4313, allocations: 0 / 1.084 GB, free: 10.75 MB / 0.8419 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.004115/0.4354, allocations: 1.622 MB / 1.085 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.4354, allocations: 12.03 kB / 1.085 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00461/0.4401, allocations: 0.669 MB / 1.086 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/0.442, allocations: 0.8866 MB / 1.087 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.4421, allocations: 102.5 kB / 1.087 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003443/0.4425, allocations: 123.9 kB / 1.087 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003723/0.4462, allocations: 2.194 MB / 1.089 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.431e-05/0.4463, allocations: 11.94 kB / 1.089 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.4464, allocations: 63.91 kB / 1.089 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002161/0.4467, allocations: 162.3 kB / 1.09 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003269/0.4499, allocations: 1.859 MB / 1.091 GB, free: 2.711 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0141/0.464, allocations: 12.48 MB / 1.104 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004841/0.4689, allocations: 1.95 MB / 1.105 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009639/0.4699, allocations: 0.605 MB / 1.106 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/0.4702, allocations: 110.1 kB / 1.106 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.4702, allocations: 43.56 kB / 1.106 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=103): time 2.575e-06/0.4702, allocations: 0 / 1.106 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=110): time 0.00678/0.477, allocations: 3.698 MB / 1.11 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.4771, allocations: 64.41 kB / 1.11 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.4787, allocations: 0.9164 MB / 1.111 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.547e-05/0.4788, allocations: 45.7 kB / 1.111 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006604/0.4794, allocations: 0.7275 MB / 1.111 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003639/0.4798, allocations: 386.6 kB / 1.112 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.728e-05/0.4799, allocations: 28 kB / 1.112 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4801, allocations: 365.9 kB / 1.112 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.4812, allocations: 0.6089 MB / 1.113 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.4825, allocations: 1.098 MB / 1.114 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.4837, allocations: 0.772 MB / 1.115 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.4838, allocations: 4 kB / 1.115 GB, free: 9.406 MB / 0.8731 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003576/0.4873, allocations: 2.084 MB / 1.117 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.4874, allocations: 13.72 kB / 1.117 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.4874, allocations: 16 kB / 1.117 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007906/0.4882, allocations: 263.3 kB / 1.117 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.4895, allocations: 375.4 kB / 1.117 GB, free: 6.613 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009017/0.4985, allocations: 10.75 MB / 1.128 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.4998, allocations: 131.8 kB / 1.128 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/0.5001, allocations: 67.98 kB / 1.128 GB, free: 10.61 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007891/0.5008, allocations: 415.8 kB / 1.128 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/0.5011, allocations: 130.4 kB / 1.129 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002993/0.5041, allocations: 1.669 MB / 1.13 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.5041, allocations: 15.94 kB / 1.13 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.5042, allocations: 0 / 1.13 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.5042, allocations: 3.984 kB / 1.13 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005195/0.5094, allocations: 3.292 MB / 1.133 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.5094, allocations: 8.031 kB / 1.133 GB, free: 4.891 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007941/0.5102, allocations: 223.6 kB / 1.134 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006485/0.5109, allocations: 246.6 kB / 1.134 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.573e-05/0.5109, allocations: 28 kB / 1.134 GB, free: 4.379 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009409/0.5204, allocations: 10.73 MB / 1.144 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/0.5204, allocations: 11.94 kB / 1.144 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002906/0.5233, allocations: 1.792 MB / 1.146 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000699/0.524, allocations: 319.3 kB / 1.146 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/0.5243, allocations: 35.98 kB / 1.146 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007225/0.525, allocations: 87.88 kB / 1.147 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.5252, allocations: 100.7 kB / 1.147 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.695e-05/0.5253, allocations: 32 kB / 1.147 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009275/0.5263, allocations: 0.6099 MB / 1.147 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5263, allocations: 0 / 1.147 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001668/0.5279, allocations: 392 kB / 1.148 GB, free: 5.082 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002835/0.5282, allocations: 151 kB / 1.148 GB, free: 4.926 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003827/0.5321, allocations: 2.474 MB / 1.15 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.5321, allocations: 4 kB / 1.15 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002285/0.5344, allocations: 1.621 MB / 1.152 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.5364, allocations: 336.2 kB / 1.152 GB, free: 308 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005686/0.5421, allocations: 3.264 MB / 1.155 GB, free: 12.94 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.5432, allocations: 1.327 MB / 1.157 GB, free: 11.58 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001114/0.5444, allocations: 355.3 kB / 1.157 GB, free: 11.23 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/0.5447, allocations: 95.42 kB / 1.157 GB, free: 11.14 MB / 0.92 GB Notification: Performance of SimCode: time 1.252e-06/0.5447, allocations: 0 / 1.157 GB, free: 11.14 MB / 0.92 GB Notification: Performance of Templates: time 0.02966/0.5744, allocations: 15.72 MB / 1.172 GB, free: 11.56 MB / 0.9356 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