Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.991/1.991, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001141/0.001141, allocations: 191.9 kB / 490.8 MB, free: 1.93 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.471/1.471, allocations: 221.3 MB / 0.7863 GB, free: 13.64 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.0009566/0.0009568, allocations: 91.12 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.294e-06/7.314e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2797, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9597/1.239, allocations: 426 MB / 1.628 GB, free: 5.832 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/1.24, allocations: 88.02 kB / 1.628 GB, free: 5.789 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.057/3.296, allocations: 0.5693 GB / 2.197 GB, free: 221.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001252/3.296, allocations: 44.02 kB / 2.197 GB, free: 221.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.003071/3.299, allocations: 1.636 MB / 2.199 GB, free: 221.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/3.3, allocations: 7.25 kB / 2.199 GB, free: 221.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003334/3.303, allocations: 0.6508 MB / 2.199 GB, free: 221.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/3.306, allocations: 1.63 MB / 2.201 GB, free: 221 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/3.306, allocations: 82.23 kB / 2.201 GB, free: 221 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/3.306, allocations: 55.81 kB / 2.201 GB, free: 221 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001647/3.308, allocations: 1.096 MB / 2.202 GB, free: 221 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/3.309, allocations: 1.081 MB / 2.203 GB, free: 220.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/3.309, allocations: 8.75 kB / 2.203 GB, free: 220.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.229e-05/3.309, allocations: 0 / 2.203 GB, free: 220.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.081e-05/3.309, allocations: 39.45 kB / 2.203 GB, free: 220.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007244/3.317, allocations: 5.478 MB / 2.209 GB, free: 218.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/3.318, allocations: 0.8441 MB / 2.209 GB, free: 218.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005499/3.318, allocations: 482.1 kB / 2.21 GB, free: 218.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005867/3.319, allocations: 1.078 MB / 2.211 GB, free: 217.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006838/3.32, allocations: 0.5504 MB / 2.211 GB, free: 217.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=60): time 2.635e-06/3.32, allocations: 0 / 2.211 GB, free: 217.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=60): time 0.001963/3.322, allocations: 0.9949 MB / 2.212 GB, free: 217.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/3.322, allocations: 58.53 kB / 2.212 GB, free: 217.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/3.323, allocations: 1.022 MB / 2.213 GB, free: 217.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.793e-05/3.323, allocations: 25.7 kB / 2.213 GB, free: 217.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/3.323, allocations: 452.6 kB / 2.214 GB, free: 217 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/3.323, allocations: 192.6 kB / 2.214 GB, free: 216.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/3.323, allocations: 2.719 kB / 2.214 GB, free: 216.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.249e-05/3.323, allocations: 332.1 kB / 2.214 GB, free: 216.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005141/3.324, allocations: 424.7 kB / 2.215 GB, free: 216.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005952/3.325, allocations: 0.624 MB / 2.215 GB, free: 216.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009558/3.326, allocations: 456.3 kB / 2.216 GB, free: 216.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/3.326, allocations: 3.656 kB / 2.216 GB, free: 216.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001884/3.327, allocations: 1.127 MB / 2.217 GB, free: 216.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/3.327, allocations: 3.594 kB / 2.217 GB, free: 216.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/3.328, allocations: 3.688 kB / 2.217 GB, free: 216.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/3.328, allocations: 11.47 kB / 2.217 GB, free: 216.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/3.329, allocations: 279.8 kB / 2.217 GB, free: 216.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/3.329, allocations: 13.5 kB / 2.217 GB, free: 216.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/3.33, allocations: 180 kB / 2.217 GB, free: 216.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/3.33, allocations: 58.17 kB / 2.217 GB, free: 216.2 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 () * 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.0001792/3.331, allocations: 138.9 kB / 2.218 GB, free: 216.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/3.331, allocations: 125.2 kB / 2.218 GB, free: 216.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/3.333, allocations: 1.217 MB / 2.219 GB, free: 216 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/3.333, allocations: 3.906 kB / 2.219 GB, free: 216 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/3.333, allocations: 3 kB / 2.219 GB, free: 216 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001586/3.335, allocations: 1.032 MB / 2.22 GB, free: 215.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004137/3.339, allocations: 2.674 MB / 2.223 GB, free: 215.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/3.339, allocations: 3.938 kB / 2.223 GB, free: 215.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/3.34, allocations: 230.9 kB / 2.223 GB, free: 215.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/3.34, allocations: 7.75 kB / 2.223 GB, free: 215.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-05/3.34, allocations: 18.78 kB / 2.223 GB, free: 215.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/3.34, allocations: 14.19 kB / 2.223 GB, free: 215.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/3.34, allocations: 3.969 kB / 2.223 GB, free: 215.4 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002629/3.343, allocations: 2.013 MB / 2.225 GB, free: 215 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006527/3.344, allocations: 379.4 kB / 2.225 GB, free: 214.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/3.344, allocations: 11.02 kB / 2.225 GB, free: 214.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/3.345, allocations: 147.9 kB / 2.225 GB, free: 214.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/3.345, allocations: 48.12 kB / 2.225 GB, free: 214.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.87e-05/3.345, allocations: 51.55 kB / 2.225 GB, free: 214.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0009696/3.346, allocations: 0.7829 MB / 2.226 GB, free: 214.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001519/3.348, allocations: 498.8 kB / 2.227 GB, free: 214.7 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 () * 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.001032/3.349, allocations: 0.6693 MB / 2.227 GB, free: 214.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001244/3.35, allocations: 0.9128 MB / 2.228 GB, free: 214.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/3.35, allocations: 0 / 2.228 GB, free: 214.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006034/3.351, allocations: 0.4916 MB / 2.229 GB, free: 214.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/3.353, allocations: 0.5144 MB / 2.229 GB, free: 214.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/3.357, allocations: 2.042 MB / 2.231 GB, free: 214 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/3.358, allocations: 1.399 MB / 2.232 GB, free: 213.3 MB / 1.167 GB Notification: Performance of SimCode: time 6.81e-07/3.358, allocations: 0 / 2.232 GB, free: 213.3 MB / 1.167 GB Notification: Performance of Templates: time 0.03847/3.397, allocations: 25.66 MB / 2.258 GB, free: 212.7 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches