Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.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.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.96/1.96, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001205/0.001205, allocations: 185.3 kB / 487 MB, free: 5.352 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.394/1.394, allocations: 221.3 MB / 0.7819 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 95.7 kB / 0.9213 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.294e-06/7.304e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2836, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9703/1.254, allocations: 406.2 MB / 1.602 GB, free: 1.246 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/1.254, allocations: 83.5 kB / 1.602 GB, free: 1.203 MB / 1.026 GB Notification: Performance of FrontEnd: time 0.2226/1.477, allocations: 106.6 MB / 1.706 GB, free: 14.3 MB / 1.135 GB Notification: Performance of Transformations before backend: time 3.067e-05/1.477, allocations: 8 kB / 1.706 GB, free: 14.3 MB / 1.135 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.001162/1.478, allocations: 0.6643 MB / 1.707 GB, free: 13.58 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.478, allocations: 8.031 kB / 1.707 GB, free: 13.57 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/1.478, allocations: 47.53 kB / 1.707 GB, free: 13.53 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01517/1.494, allocations: 6.835 MB / 1.713 GB, free: 6.594 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/1.494, allocations: 8 kB / 1.713 GB, free: 6.586 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/1.494, allocations: 19.91 kB / 1.713 GB, free: 6.566 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003458/1.494, allocations: 144.9 kB / 1.714 GB, free: 6.422 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/1.495, allocations: 248.4 kB / 1.714 GB, free: 6.156 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/1.495, allocations: 0 / 1.714 GB, free: 6.156 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/1.495, allocations: 0 / 1.714 GB, free: 6.156 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/1.495, allocations: 11.98 kB / 1.714 GB, free: 6.145 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/1.496, allocations: 1.434 MB / 1.715 GB, free: 4.598 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/1.497, allocations: 122.6 kB / 1.715 GB, free: 4.469 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.839e-05/1.497, allocations: 51.86 kB / 1.715 GB, free: 4.418 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/1.497, allocations: 89.09 kB / 1.715 GB, free: 4.312 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/1.497, allocations: 99.31 kB / 1.716 GB, free: 4.203 MB / 1.135 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/1.497, allocations: 0 / 1.716 GB, free: 4.203 MB / 1.135 GB Notification: Performance of matching and sorting (n=15): time 0.0003267/1.497, allocations: 141.2 kB / 1.716 GB, free: 4.059 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/1.497, allocations: 55.41 kB / 1.716 GB, free: 3.992 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/1.498, allocations: 275.5 kB / 1.716 GB, free: 3.715 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/1.498, allocations: 25.7 kB / 1.716 GB, free: 3.684 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/1.498, allocations: 183.8 kB / 1.716 GB, free: 3.5 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 6.469e-05/1.498, allocations: 55.28 kB / 1.716 GB, free: 3.445 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/1.498, allocations: 0 / 1.716 GB, free: 3.445 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001066/1.498, allocations: 338.8 kB / 1.717 GB, free: 3.105 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.391e-05/1.498, allocations: 51.98 kB / 1.717 GB, free: 3.055 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/1.498, allocations: 130.4 kB / 1.717 GB, free: 2.895 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/1.499, allocations: 82.59 kB / 1.717 GB, free: 2.816 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.499, allocations: 0 / 1.717 GB, free: 2.816 MB / 1.135 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003815/1.499, allocations: 225.3 kB / 1.717 GB, free: 2.59 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/1.499, allocations: 8 kB / 1.717 GB, free: 2.582 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/1.499, allocations: 0 / 1.717 GB, free: 2.582 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/1.499, allocations: 7.984 kB / 1.717 GB, free: 2.574 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/1.499, allocations: 59.91 kB / 1.717 GB, free: 2.516 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/1.499, allocations: 4 kB / 1.717 GB, free: 2.512 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/1.499, allocations: 35.77 kB / 1.717 GB, free: 2.477 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/1.5, allocations: 12 kB / 1.717 GB, free: 2.465 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 8.635e-05/1.5, allocations: 108.9 kB / 1.717 GB, free: 2.352 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/1.5, allocations: 31.62 kB / 1.717 GB, free: 2.32 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/1.5, allocations: 160.3 kB / 1.717 GB, free: 2.16 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/1.5, allocations: 7.984 kB / 1.717 GB, free: 2.152 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/1.5, allocations: 0 / 1.717 GB, free: 2.152 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002999/1.5, allocations: 450.7 kB / 1.718 GB, free: 1.629 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/1.501, allocations: 301.9 kB / 1.718 GB, free: 1.297 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.501, allocations: 0 / 1.718 GB, free: 1.297 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/1.501, allocations: 35.97 kB / 1.718 GB, free: 1.262 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/1.501, allocations: 7.938 kB / 1.718 GB, free: 1.254 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/1.501, allocations: 8 kB / 1.718 GB, free: 1.246 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.501, allocations: 0 / 1.718 GB, free: 1.246 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.501, allocations: 7.906 kB / 1.718 GB, free: 1.238 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003368/1.501, allocations: 220.6 kB / 1.718 GB, free: 1.004 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/1.501, allocations: 124.7 kB / 1.719 GB, free: 0.8633 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/1.501, allocations: 0 / 1.719 GB, free: 0.8633 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/1.502, allocations: 23.97 kB / 1.719 GB, free: 0.8398 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/1.502, allocations: 20.03 kB / 1.719 GB, free: 0.8203 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/1.502, allocations: 7.984 kB / 1.719 GB, free: 0.8125 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0002944/1.502, allocations: 219.1 kB / 1.719 GB, free: 0.5977 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0004542/1.503, allocations: 128 kB / 1.719 GB, free: 484 kB / 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.0003826/1.503, allocations: 236.4 kB / 1.719 GB, free: 240 kB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0002662/1.503, allocations: 169.5 kB / 1.719 GB, free: 64 kB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.503, allocations: 0 / 1.719 GB, free: 64 kB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 8.339e-05/1.503, allocations: 47.94 kB / 1.719 GB, free: 16 kB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4699/1.973, allocations: 174.2 kB / 1.72 GB, free: 0.5008 GB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/1.974, allocations: 0.5204 MB / 1.72 GB, free: 0.5007 GB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/1.975, allocations: 0.833 MB / 1.721 GB, free: 0.5 GB / 1.135 GB Notification: Performance of SimCode: time 7.71e-07/1.975, allocations: 2.938 kB / 1.721 GB, free: 0.5 GB / 1.135 GB Notification: Performance of Templates: time 0.01022/1.985, allocations: 6.294 MB / 1.727 GB, free: 0.4999 GB / 1.135 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","../files/Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches