Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001585/0.001585, allocations: 172.7 kB / 15.95 MB, free: 208 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.493/1.493, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.881/2.881, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003555, allocations: 9.219 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3946, allocations: 159.6 MB / 1.058 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05612/0.4507, allocations: 55.91 MB / 1.113 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02479/0.4756, allocations: 12.36 MB / 1.125 GB, free: 0.918 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004326/0.48, allocations: 55.62 kB / 1.125 GB, free: 0.8633 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003207/0.4833, allocations: 0.7181 MB / 1.125 GB, free: 144 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007633/0.4909, allocations: 1.824 MB / 1.127 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004504/0.4954, allocations: 1.177 MB / 1.128 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.007899/0.5033, allocations: 4.785 MB / 1.133 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/0.5057, allocations: 0.9889 MB / 1.134 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003429/0.5091, allocations: 1.291 MB / 1.135 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002304/0.5114, allocations: 1.093 MB / 1.136 GB, free: 4.941 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002244/0.5117, allocations: 60 kB / 1.136 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003593/0.5153, allocations: 1.01 MB / 1.137 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005112/0.5158, allocations: 318.6 kB / 1.138 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008434/0.5166, allocations: 360.8 kB / 1.138 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003389/0.52, allocations: 1.972 MB / 1.14 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.5201, allocations: 0 / 1.14 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.496e-06/0.5201, allocations: 0 / 1.14 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.18e-05/0.5201, allocations: 3.938 kB / 1.14 GB, free: 1.219 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.004142/0.5243, allocations: 1.898 MB / 1.142 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.5243, allocations: 12.02 kB / 1.142 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003225/0.5276, allocations: 0.5793 MB / 1.142 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002753/0.5303, allocations: 1.349 MB / 1.144 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.5306, allocations: 149.3 kB / 1.144 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.5307, allocations: 103.9 kB / 1.144 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002999/0.5337, allocations: 1.354 MB / 1.145 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.5338, allocations: 7.891 kB / 1.145 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.5339, allocations: 36 kB / 1.145 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-05/0.5339, allocations: 28 kB / 1.145 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00355/0.5375, allocations: 1.39 MB / 1.147 GB, free: 10.15 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009174/0.5467, allocations: 5.481 MB / 1.152 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004969/0.5517, allocations: 1.408 MB / 1.153 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.5534, allocations: 0.6354 MB / 1.154 GB, free: 2.25 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/0.5546, allocations: 1.236 MB / 1.155 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001801/0.5564, allocations: 0.6939 MB / 1.156 GB, free: 32 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=70): time 3.125e-06/0.5564, allocations: 0 / 1.156 GB, free: 32 kB / 0.9044 GB Notification: Performance of matching and sorting (n=70): time 0.004773/0.5612, allocations: 1.778 MB / 1.158 GB, free: 14.25 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.5613, allocations: 59.97 kB / 1.158 GB, free: 14.18 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/0.5631, allocations: 1.264 MB / 1.159 GB, free: 12.9 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.5633, allocations: 45.7 kB / 1.159 GB, free: 12.85 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006332/0.5639, allocations: 0.6464 MB / 1.16 GB, free: 12.2 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.5642, allocations: 252.4 kB / 1.16 GB, free: 11.95 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/0.5642, allocations: 16 kB / 1.16 GB, free: 11.93 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5644, allocations: 341.9 kB / 1.16 GB, free: 11.59 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.5659, allocations: 0.5445 MB / 1.161 GB, free: 11.04 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.5676, allocations: 0.784 MB / 1.162 GB, free: 10.18 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.5691, allocations: 0.6019 MB / 1.162 GB, free: 9.57 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.5691, allocations: 0 / 1.162 GB, free: 9.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003705/0.5728, allocations: 1.462 MB / 1.164 GB, free: 8.094 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.573, allocations: 219.9 kB / 1.164 GB, free: 7.824 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.573, allocations: 0 / 1.164 GB, free: 7.824 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.573, allocations: 8 kB / 1.164 GB, free: 7.816 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.5743, allocations: 275.6 kB / 1.164 GB, free: 7.547 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.5744, allocations: 11.94 kB / 1.164 GB, free: 7.535 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.5761, allocations: 247 kB / 1.164 GB, free: 7.293 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.5762, allocations: 39.98 kB / 1.164 GB, free: 7.254 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.5762, allocations: 4 kB / 1.164 GB, free: 7.25 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003227/0.5795, allocations: 1.309 MB / 1.166 GB, free: 5.934 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.5795, allocations: 8.297 kB / 1.166 GB, free: 5.926 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.5795, allocations: 15.94 kB / 1.166 GB, free: 5.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.5807, allocations: 267.7 kB / 1.166 GB, free: 5.648 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.5807, allocations: 11.94 kB / 1.166 GB, free: 5.637 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.5823, allocations: 239.1 kB / 1.166 GB, free: 5.402 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.739e-05/0.5824, allocations: 39.98 kB / 1.166 GB, free: 5.363 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (chi.tru.y,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008322/0.5833, allocations: 412.9 kB / 1.167 GB, free: 4.949 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/0.5835, allocations: 142.2 kB / 1.167 GB, free: 4.809 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003661/0.5872, allocations: 1.528 MB / 1.168 GB, free: 3.258 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.5872, allocations: 11.98 kB / 1.168 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5873, allocations: 0 / 1.168 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002947/0.5902, allocations: 1.289 MB / 1.169 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006378/0.5966, allocations: 3.269 MB / 1.173 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.5966, allocations: 4 kB / 1.173 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.5977, allocations: 236.2 kB / 1.173 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/0.5978, allocations: 8 kB / 1.173 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.282e-05/0.5979, allocations: 31.97 kB / 1.173 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/0.5979, allocations: 15.94 kB / 1.173 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.5979, allocations: 4 kB / 1.173 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005205/0.6031, allocations: 2.313 MB / 1.175 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007902/0.6039, allocations: 370.7 kB / 1.176 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.6041, allocations: 24.06 kB / 1.176 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.6054, allocations: 183.7 kB / 1.176 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.6055, allocations: 68.38 kB / 1.176 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.905e-05/0.6056, allocations: 47.95 kB / 1.176 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001337/0.607, allocations: 0.8895 MB / 1.177 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.607, allocations: 0 / 1.177 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002097/0.6091, allocations: 0.7992 MB / 1.177 GB, free: 9.43 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001149/0.6102, allocations: 496.7 kB / 1.178 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005291/0.6155, allocations: 2.085 MB / 1.18 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.6156, allocations: 0 / 1.18 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.6173, allocations: 0.7108 MB / 1.181 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004347/0.6217, allocations: 0.7522 MB / 1.181 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007294/0.629, allocations: 3.373 MB / 1.185 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/0.6301, allocations: 1.238 MB / 1.186 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00197/0.6321, allocations: 363.6 kB / 1.186 GB, free: 312 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004537/0.6326, allocations: 123.4 kB / 1.186 GB, free: 188 kB / 0.9356 GB Notification: Performance of SimCode: time 1.223e-06/0.6326, allocations: 0 / 1.186 GB, free: 188 kB / 0.9356 GB Notification: Performance of Templates: time 0.05634/0.6889, allocations: 29.06 MB / 1.215 GB, free: 3.5 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches