Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 183.5 kB / 498.1 MB, free: 5.754 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.747/1.747, allocations: 223.2 MB / 0.7949 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000953/0.000953, allocations: 92.33 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.0004067, allocations: 11.45 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3318, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.194/1.526, allocations: 426 MB / 1.639 GB, free: 2.598 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/1.527, allocations: 96.05 kB / 1.639 GB, free: 2.547 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.964/3.491, allocations: 0.5708 GB / 2.21 GB, free: 122.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.586e-06/3.491, allocations: 0 / 2.21 GB, free: 122.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002178/3.491, allocations: 39.98 kB / 2.21 GB, free: 122.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.006751/3.498, allocations: 1.907 MB / 2.212 GB, free: 120.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/3.498, allocations: 8.031 kB / 2.212 GB, free: 120.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003841/3.502, allocations: 0.599 MB / 2.212 GB, free: 120.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003791/3.506, allocations: 1.631 MB / 2.214 GB, free: 118.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/3.506, allocations: 123.7 kB / 2.214 GB, free: 118.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/3.506, allocations: 99.95 kB / 2.214 GB, free: 118.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002942/3.509, allocations: 1.397 MB / 2.215 GB, free: 116.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/3.509, allocations: 11.83 kB / 2.215 GB, free: 116.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/3.509, allocations: 40 kB / 2.215 GB, free: 116.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-05/3.509, allocations: 38 kB / 2.215 GB, free: 116.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003566/3.513, allocations: 1.53 MB / 2.217 GB, free: 115.2 MB / 1.167 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.00857/3.521, allocations: 5.45 MB / 2.222 GB, free: 109.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002867/3.524, allocations: 1.21 MB / 2.223 GB, free: 108.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006423/3.525, allocations: 1.069 MB / 2.225 GB, free: 107 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001682/3.527, allocations: 0.7564 MB / 2.225 GB, free: 106.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=60): time 3.376e-06/3.527, allocations: 0 / 2.225 GB, free: 106.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=60): time 0.005026/3.532, allocations: 1.977 MB / 2.227 GB, free: 104.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/3.532, allocations: 63.91 kB / 2.227 GB, free: 104.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/3.534, allocations: 1.245 MB / 2.228 GB, free: 102.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/3.534, allocations: 45.7 kB / 2.229 GB, free: 102.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004796/3.534, allocations: 0.6542 MB / 2.229 GB, free: 102.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/3.535, allocations: 205 kB / 2.229 GB, free: 102 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/3.535, allocations: 16 kB / 2.229 GB, free: 102 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.962e-05/3.535, allocations: 334 kB / 2.23 GB, free: 101.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/3.536, allocations: 0.6031 MB / 2.23 GB, free: 101.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/3.538, allocations: 0.8405 MB / 2.231 GB, free: 100.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/3.539, allocations: 0.6072 MB / 2.232 GB, free: 99.52 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/3.539, allocations: 0 / 2.232 GB, free: 99.52 MB / 1.167 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003713/3.543, allocations: 1.535 MB / 2.233 GB, free: 97.97 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/3.543, allocations: 8 kB / 2.233 GB, free: 97.96 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/3.543, allocations: 4 kB / 2.233 GB, free: 97.96 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/3.543, allocations: 8.375 kB / 2.233 GB, free: 97.95 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/3.544, allocations: 271.6 kB / 2.233 GB, free: 97.69 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/3.544, allocations: 15.92 kB / 2.233 GB, free: 97.67 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/3.546, allocations: 226.9 kB / 2.234 GB, free: 97.45 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/3.546, allocations: 59.95 kB / 2.234 GB, free: 97.39 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,absIndSte.on,$PRE.onOff.pulseStart,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008338/3.547, allocations: 357.5 kB / 2.234 GB, free: 97.03 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/3.547, allocations: 142.2 kB / 2.234 GB, free: 96.89 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003619/3.551, allocations: 1.59 MB / 2.236 GB, free: 95.28 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/3.551, allocations: 8 kB / 2.236 GB, free: 95.27 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/3.551, allocations: 4 kB / 2.236 GB, free: 95.27 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002984/3.554, allocations: 1.403 MB / 2.237 GB, free: 93.84 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006224/3.56, allocations: 3.191 MB / 2.24 GB, free: 90.56 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/3.56, allocations: 4.25 kB / 2.24 GB, free: 90.55 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/3.561, allocations: 227.7 kB / 2.241 GB, free: 90.33 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/3.561, allocations: 4 kB / 2.241 GB, free: 90.33 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.436e-05/3.561, allocations: 31.97 kB / 2.241 GB, free: 90.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/3.561, allocations: 7.984 kB / 2.241 GB, free: 90.29 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/3.561, allocations: 0 / 2.241 GB, free: 90.29 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005269/3.567, allocations: 2.605 MB / 2.243 GB, free: 87.55 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/3.568, allocations: 406.8 kB / 2.243 GB, free: 87.14 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/3.568, allocations: 15.98 kB / 2.244 GB, free: 87.12 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/3.569, allocations: 147.8 kB / 2.244 GB, free: 86.98 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/3.57, allocations: 60.38 kB / 2.244 GB, free: 86.92 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.905e-05/3.57, allocations: 51.95 kB / 2.244 GB, free: 86.87 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001351/3.571, allocations: 0.9947 MB / 2.245 GB, free: 85.88 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.51e-07/3.571, allocations: 0 / 2.245 GB, free: 85.88 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001581/3.573, allocations: 0.4914 MB / 2.245 GB, free: 85.38 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,absIndSte.on,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * 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.001212/3.574, allocations: 0.6769 MB / 2.246 GB, free: 84.72 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003251/3.577, allocations: 1.324 MB / 2.247 GB, free: 83.39 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/3.577, allocations: 4 kB / 2.247 GB, free: 83.39 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001535/3.579, allocations: 0.6911 MB / 2.248 GB, free: 82.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003745/3.582, allocations: 0.737 MB / 2.249 GB, free: 81.98 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006306/3.589, allocations: 3.132 MB / 2.252 GB, free: 78.78 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009812/3.59, allocations: 1.256 MB / 2.253 GB, free: 77.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002251/3.592, allocations: 327.4 kB / 2.253 GB, free: 77.17 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004254/3.592, allocations: 123.4 kB / 2.253 GB, free: 77.05 MB / 1.167 GB Notification: Performance of SimCode: time 2.174e-06/3.592, allocations: 0 / 2.253 GB, free: 77.05 MB / 1.167 GB Notification: Performance of Templates: time 0.05045/3.643, allocations: 31.05 MB / 2.284 GB, free: 46.31 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches