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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.975/1.975, allocations: 387.2 MB / 394.5 MB, free: 1.629 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 177.3 kB / 487 MB, free: 9.801 MB / 398.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 221.3 MB / 0.7819 GB, free: 5.422 MB / 0.545 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009655/0.0009652, allocations: 103.3 kB / 0.9213 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of FrontEnd - loaded program: time 6.252e-06/6.282e-06, allocations: 0 / 1.066 GB, free: 190 MB / 0.7637 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2198, allocations: 142.3 MB / 1.205 GB, free: 48.25 MB / 0.7637 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8014/1.021, allocations: 425.2 MB / 1.62 GB, free: 4.457 MB / 1.029 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/1.022, allocations: 89.64 kB / 1.62 GB, free: 4.414 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.102/3.123, allocations: 0.5694 GB / 2.19 GB, free: 252.3 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001275/3.124, allocations: 44.09 kB / 2.19 GB, free: 252.3 MB / 1.139 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.003067/3.127, allocations: 1.633 MB / 2.191 GB, free: 251.9 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/3.127, allocations: 7.469 kB / 2.191 GB, free: 251.9 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003452/3.13, allocations: 0.6505 MB / 2.192 GB, free: 251.8 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003109/3.133, allocations: 1.63 MB / 2.194 GB, free: 251.5 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/3.133, allocations: 83.5 kB / 2.194 GB, free: 251.5 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/3.134, allocations: 52.94 kB / 2.194 GB, free: 251.5 MB / 1.139 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001778/3.135, allocations: 1.096 MB / 2.195 GB, free: 251.5 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/3.137, allocations: 1.084 MB / 2.196 GB, free: 251.3 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/3.137, allocations: 2.875 kB / 2.196 GB, free: 251.3 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.302e-05/3.137, allocations: 7.281 kB / 2.196 GB, free: 251.3 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.995e-05/3.137, allocations: 40.53 kB / 2.196 GB, free: 251.3 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007536/3.145, allocations: 5.463 MB / 2.201 GB, free: 249.4 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/3.146, allocations: 0.8422 MB / 2.202 GB, free: 249.3 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005533/3.146, allocations: 491.2 kB / 2.203 GB, free: 249.3 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006602/3.147, allocations: 1.072 MB / 2.204 GB, free: 248.1 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006705/3.148, allocations: 0.5585 MB / 2.204 GB, free: 248.1 MB / 1.139 GB Notification: Performance of pre-optimization done (n=60): time 2.604e-06/3.148, allocations: 0 / 2.204 GB, free: 248.1 MB / 1.139 GB Notification: Performance of matching and sorting (n=60): time 0.001867/3.15, allocations: 0.9933 MB / 2.205 GB, free: 247.9 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/3.15, allocations: 55.66 kB / 2.205 GB, free: 247.9 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/3.151, allocations: 1.017 MB / 2.206 GB, free: 247.7 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.469e-05/3.151, allocations: 29.33 kB / 2.206 GB, free: 247.7 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/3.151, allocations: 446.8 kB / 2.207 GB, free: 247.5 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/3.151, allocations: 197.3 kB / 2.207 GB, free: 247.4 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/3.151, allocations: 2.531 kB / 2.207 GB, free: 247.4 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 6.169e-05/3.152, allocations: 328.1 kB / 2.207 GB, free: 247.1 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/3.152, allocations: 418.7 kB / 2.208 GB, free: 247.1 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006406/3.153, allocations: 0.6321 MB / 2.208 GB, free: 246.9 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009452/3.154, allocations: 458.2 kB / 2.209 GB, free: 246.8 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/3.154, allocations: 3.172 kB / 2.209 GB, free: 246.8 MB / 1.139 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001916/3.156, allocations: 1.126 MB / 2.21 GB, free: 246.7 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/3.156, allocations: 6.031 kB / 2.21 GB, free: 246.7 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/3.156, allocations: 3.844 kB / 2.21 GB, free: 246.7 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/3.156, allocations: 9.938 kB / 2.21 GB, free: 246.7 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/3.157, allocations: 286.3 kB / 2.21 GB, free: 246.7 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/3.157, allocations: 7.625 kB / 2.21 GB, free: 246.7 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/3.158, allocations: 186.5 kB / 2.21 GB, free: 246.7 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/3.159, allocations: 65.64 kB / 2.21 GB, free: 246.7 MB / 1.139 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 () * 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.0001852/3.159, allocations: 128.9 kB / 2.21 GB, free: 246.6 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/3.159, allocations: 124.8 kB / 2.211 GB, free: 246.5 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/3.161, allocations: 1.208 MB / 2.212 GB, free: 246.5 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/3.161, allocations: 13.25 kB / 2.212 GB, free: 246.5 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/3.161, allocations: 0 / 2.212 GB, free: 246.5 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001589/3.163, allocations: 1.036 MB / 2.213 GB, free: 246.3 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00382/3.167, allocations: 2.66 MB / 2.215 GB, free: 245.9 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/3.167, allocations: 3.688 kB / 2.215 GB, free: 245.9 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/3.168, allocations: 238.5 kB / 2.216 GB, free: 245.9 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/3.168, allocations: 7.844 kB / 2.216 GB, free: 245.9 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.497e-05/3.168, allocations: 22.05 kB / 2.216 GB, free: 245.9 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/3.168, allocations: 12.38 kB / 2.216 GB, free: 245.9 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/3.168, allocations: 6.031 kB / 2.216 GB, free: 245.9 MB / 1.139 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002602/3.171, allocations: 2.013 MB / 2.218 GB, free: 245.5 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005406/3.171, allocations: 372.9 kB / 2.218 GB, free: 245.4 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/3.171, allocations: 7.156 kB / 2.218 GB, free: 245.4 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/3.173, allocations: 146.2 kB / 2.218 GB, free: 245.4 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/3.173, allocations: 45.7 kB / 2.218 GB, free: 245.4 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/3.173, allocations: 56.06 kB / 2.218 GB, free: 245.4 MB / 1.139 GB Notification: Performance of sort global known variables: time 0.0009239/3.174, allocations: 0.7776 MB / 2.219 GB, free: 245.3 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001597/3.175, allocations: 0.4887 MB / 2.219 GB, free: 245.2 MB / 1.139 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 () * 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.001088/3.176, allocations: 0.6711 MB / 2.22 GB, free: 245.1 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001273/3.178, allocations: 0.9106 MB / 2.221 GB, free: 245.1 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/3.178, allocations: 0 / 2.221 GB, free: 245.1 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006314/3.178, allocations: 0.4899 MB / 2.221 GB, free: 245.1 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/3.181, allocations: 0.5126 MB / 2.222 GB, free: 245 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/3.185, allocations: 2.053 MB / 2.224 GB, free: 244.5 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/3.186, allocations: 1.399 MB / 2.225 GB, free: 243.8 MB / 1.139 GB Notification: Performance of SimCode: time 4.41e-07/3.186, allocations: 0 / 2.225 GB, free: 243.8 MB / 1.139 GB Notification: Performance of Templates: time 0.03711/3.223, allocations: 25.65 MB / 2.25 GB, free: 243.2 MB / 1.139 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