Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.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.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel") [: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.978/1.978, allocations: 390.4 MB / 397.7 MB, free: 11.18 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.001164/0.001164, allocations: 186.6 kB / 490.8 MB, free: 1.852 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.385/1.385, allocations: 221.4 MB / 0.7863 GB, free: 13.58 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.0009065/0.0009066, allocations: 95.86 kB / 0.9264 GB, free: 14.12 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.033e-06/7.053e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2916, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9623/1.254, allocations: 407 MB / 1.609 GB, free: 8.324 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/1.254, allocations: 89.75 kB / 1.609 GB, free: 8.277 MB / 1.026 GB Notification: Performance of FrontEnd: time 0.2264/1.481, allocations: 106.6 MB / 1.713 GB, free: 5.918 MB / 1.12 GB Notification: Performance of Transformations before backend: time 3.636e-05/1.481, allocations: 8 kB / 1.713 GB, free: 5.91 MB / 1.12 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001329/1.482, allocations: 0.6641 MB / 1.714 GB, free: 5.199 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/1.482, allocations: 8.031 kB / 1.714 GB, free: 5.191 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002962/1.483, allocations: 47.53 kB / 1.714 GB, free: 5.145 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01745/1.5, allocations: 6.835 MB / 1.721 GB, free: 14.2 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/1.5, allocations: 8.219 kB / 1.721 GB, free: 14.2 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.4e-05/1.5, allocations: 16 kB / 1.721 GB, free: 14.18 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003972/1.501, allocations: 144.8 kB / 1.721 GB, free: 14.04 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/1.501, allocations: 252.3 kB / 1.721 GB, free: 13.77 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/1.501, allocations: 4 kB / 1.721 GB, free: 13.77 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/1.501, allocations: 0 / 1.721 GB, free: 13.77 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/1.501, allocations: 8 kB / 1.721 GB, free: 13.76 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/1.503, allocations: 1.434 MB / 1.722 GB, free: 12.21 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/1.504, allocations: 110.6 kB / 1.722 GB, free: 12.1 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/1.504, allocations: 48.84 kB / 1.723 GB, free: 12.05 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/1.504, allocations: 85.11 kB / 1.723 GB, free: 11.95 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/1.504, allocations: 95.38 kB / 1.723 GB, free: 11.84 MB / 1.135 GB Notification: Performance of pre-optimization done (n=15): time 1.784e-06/1.504, allocations: 0 / 1.723 GB, free: 11.84 MB / 1.135 GB Notification: Performance of matching and sorting (n=15): time 0.0003844/1.504, allocations: 141.2 kB / 1.723 GB, free: 11.7 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/1.504, allocations: 59.41 kB / 1.723 GB, free: 11.62 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004338/1.505, allocations: 275.5 kB / 1.723 GB, free: 11.35 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/1.505, allocations: 29.7 kB / 1.723 GB, free: 11.31 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/1.505, allocations: 183.8 kB / 1.723 GB, free: 11.13 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 6.186e-05/1.505, allocations: 55.22 kB / 1.723 GB, free: 11.07 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/1.505, allocations: 3.938 kB / 1.723 GB, free: 11.07 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.505, allocations: 342.8 kB / 1.724 GB, free: 10.73 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/1.505, allocations: 44 kB / 1.724 GB, free: 10.68 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/1.506, allocations: 130.4 kB / 1.724 GB, free: 10.52 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/1.506, allocations: 71.95 kB / 1.724 GB, free: 10.45 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/1.506, allocations: 3.938 kB / 1.724 GB, free: 10.45 MB / 1.135 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004971/1.506, allocations: 213.1 kB / 1.724 GB, free: 10.23 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.506, allocations: 6.969 kB / 1.724 GB, free: 10.23 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.506, allocations: 8.312 kB / 1.724 GB, free: 10.22 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/1.506, allocations: 11.84 kB / 1.724 GB, free: 10.21 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/1.507, allocations: 63.89 kB / 1.724 GB, free: 10.15 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/1.507, allocations: 7.938 kB / 1.724 GB, free: 10.14 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/1.507, allocations: 35.83 kB / 1.724 GB, free: 10.11 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/1.507, allocations: 15.91 kB / 1.724 GB, free: 10.09 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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 9.064e-05/1.507, allocations: 108.9 kB / 1.724 GB, free: 9.977 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/1.507, allocations: 31.62 kB / 1.724 GB, free: 9.945 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/1.508, allocations: 151.5 kB / 1.725 GB, free: 9.797 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.508, allocations: 8 kB / 1.725 GB, free: 9.789 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.508, allocations: 0 / 1.725 GB, free: 9.789 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003145/1.508, allocations: 447.7 kB / 1.725 GB, free: 9.266 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/1.508, allocations: 309.9 kB / 1.725 GB, free: 8.926 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.508, allocations: 0 / 1.725 GB, free: 8.926 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/1.508, allocations: 31.98 kB / 1.725 GB, free: 8.895 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/1.508, allocations: 0 / 1.725 GB, free: 8.895 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/1.509, allocations: 3.984 kB / 1.725 GB, free: 8.891 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/1.509, allocations: 8 kB / 1.725 GB, free: 8.883 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.509, allocations: 0 / 1.725 GB, free: 8.883 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003417/1.509, allocations: 224.5 kB / 1.726 GB, free: 8.645 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/1.509, allocations: 132.6 kB / 1.726 GB, free: 8.496 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/1.509, allocations: 3.938 kB / 1.726 GB, free: 8.492 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/1.509, allocations: 23.97 kB / 1.726 GB, free: 8.469 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/1.509, allocations: 16.12 kB / 1.726 GB, free: 8.453 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/1.509, allocations: 11.89 kB / 1.726 GB, free: 8.441 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0002105/1.51, allocations: 215.1 kB / 1.726 GB, free: 8.23 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0004756/1.51, allocations: 132 kB / 1.726 GB, free: 8.102 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003892/1.511, allocations: 244.4 kB / 1.726 GB, free: 7.855 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0002664/1.511, allocations: 161.9 kB / 1.726 GB, free: 7.691 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.511, allocations: 0 / 1.726 GB, free: 7.691 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 9.086e-05/1.511, allocations: 62.95 kB / 1.727 GB, free: 7.633 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000921/1.512, allocations: 164.1 kB / 1.727 GB, free: 7.477 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/1.513, allocations: 0.5269 MB / 1.727 GB, free: 6.918 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/1.513, allocations: 0.8373 MB / 1.728 GB, free: 6.055 MB / 1.135 GB Notification: Performance of SimCode: time 2.51e-07/1.513, allocations: 0 / 1.728 GB, free: 6.055 MB / 1.135 GB Notification: Performance of Templates: time 0.0112/1.525, allocations: 6.299 MB / 1.734 GB, free: 15.83 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","../files/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches