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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.021/2.021, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001413/0.001414, allocations: 180.9 kB / 487.4 MB, free: 5.039 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.358/1.358, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 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.0009588/0.000959, allocations: 103.8 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.652e-05/1.654e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2517, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9828/1.234, allocations: 406.3 MB / 1.603 GB, free: 220 kB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/1.235, allocations: 84.27 kB / 1.603 GB, free: 180 kB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 0.2107/1.445, allocations: 106.2 MB / 1.707 GB, free: 14.03 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.252e-06/1.446, allocations: 0 / 1.707 GB, free: 14.03 MB / 1.12 GB Notification: Performance of Transformations before backend: time 2.513e-05/1.446, allocations: 4 kB / 1.707 GB, free: 14.03 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.0009627/1.447, allocations: 0.6606 MB / 1.707 GB, free: 13.31 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/1.447, allocations: 12.56 kB / 1.707 GB, free: 13.3 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/1.447, allocations: 51.47 kB / 1.707 GB, free: 13.25 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/1.46, allocations: 6.79 MB / 1.714 GB, free: 6.355 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/1.46, allocations: 8 kB / 1.714 GB, free: 6.348 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.973e-05/1.46, allocations: 20 kB / 1.714 GB, free: 6.328 MB / 1.12 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002975/1.46, allocations: 137.1 kB / 1.714 GB, free: 6.195 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/1.461, allocations: 249.1 kB / 1.714 GB, free: 5.926 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/1.461, allocations: 0 / 1.714 GB, free: 5.926 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/1.461, allocations: 0 / 1.714 GB, free: 5.926 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/1.461, allocations: 15.95 kB / 1.714 GB, free: 5.91 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/1.462, allocations: 1.434 MB / 1.716 GB, free: 4.363 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/1.463, allocations: 122.6 kB / 1.716 GB, free: 4.234 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.636e-05/1.463, allocations: 48.86 kB / 1.716 GB, free: 4.184 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/1.463, allocations: 89.09 kB / 1.716 GB, free: 4.078 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/1.463, allocations: 103.4 kB / 1.716 GB, free: 3.965 MB / 1.12 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/1.463, allocations: 0 / 1.716 GB, free: 3.965 MB / 1.12 GB Notification: Performance of matching and sorting (n=15): time 0.0002981/1.463, allocations: 151.2 kB / 1.716 GB, free: 3.812 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/1.463, allocations: 55.39 kB / 1.716 GB, free: 3.746 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/1.464, allocations: 281 kB / 1.716 GB, free: 3.465 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/1.464, allocations: 25.7 kB / 1.717 GB, free: 3.434 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/1.464, allocations: 223.8 kB / 1.717 GB, free: 3.211 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/1.464, allocations: 47.3 kB / 1.717 GB, free: 3.164 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/1.464, allocations: 0 / 1.717 GB, free: 3.164 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.000101/1.464, allocations: 346.8 kB / 1.717 GB, free: 2.816 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.144e-05/1.464, allocations: 44 kB / 1.717 GB, free: 2.773 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/1.464, allocations: 129.9 kB / 1.717 GB, free: 2.613 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/1.464, allocations: 77.27 kB / 1.717 GB, free: 2.539 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.464, allocations: 0 / 1.717 GB, free: 2.539 MB / 1.12 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003792/1.465, allocations: 234 kB / 1.718 GB, free: 2.305 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/1.465, allocations: 33.7 kB / 1.718 GB, free: 2.266 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/1.465, allocations: 0 / 1.718 GB, free: 2.266 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.465, allocations: 4 kB / 1.718 GB, free: 2.262 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/1.465, allocations: 68.22 kB / 1.718 GB, free: 2.195 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.465, allocations: 11.88 kB / 1.718 GB, free: 2.184 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/1.465, allocations: 35.73 kB / 1.718 GB, free: 2.148 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/1.465, allocations: 8 kB / 1.718 GB, free: 2.141 MB / 1.12 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.587e-05/1.465, allocations: 108.9 kB / 1.718 GB, free: 2.027 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/1.465, allocations: 35.62 kB / 1.718 GB, free: 1.992 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/1.466, allocations: 152.6 kB / 1.718 GB, free: 1.836 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/1.466, allocations: 0 / 1.718 GB, free: 1.836 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.466, allocations: 0 / 1.718 GB, free: 1.836 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002879/1.466, allocations: 455.6 kB / 1.718 GB, free: 1.305 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/1.466, allocations: 306 kB / 1.719 GB, free: 0.9688 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.466, allocations: 0 / 1.719 GB, free: 0.9688 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/1.467, allocations: 31.98 kB / 1.719 GB, free: 0.9375 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/1.467, allocations: 4 kB / 1.719 GB, free: 0.9336 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/1.467, allocations: 0 / 1.719 GB, free: 0.9336 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/1.467, allocations: 3.984 kB / 1.719 GB, free: 0.9297 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.467, allocations: 4 kB / 1.719 GB, free: 0.9258 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/1.467, allocations: 230.8 kB / 1.719 GB, free: 0.6836 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/1.467, allocations: 132.8 kB / 1.719 GB, free: 0.5352 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/1.467, allocations: 3.984 kB / 1.719 GB, free: 0.5312 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/1.467, allocations: 19.98 kB / 1.719 GB, free: 0.5117 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/1.467, allocations: 19.97 kB / 1.719 GB, free: 0.4922 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/1.467, allocations: 11.98 kB / 1.719 GB, free: 492 kB / 1.12 GB Notification: Performance of sorting global known variables: time 0.0001818/1.468, allocations: 220.5 kB / 1.719 GB, free: 272 kB / 1.12 GB Notification: Performance of sort global known variables: time 1.3e-07/1.468, allocations: 0 / 1.719 GB, free: 272 kB / 1.12 GB Notification: Performance of remove unused functions: time 0.0004187/1.468, allocations: 131.9 kB / 1.72 GB, free: 140 kB / 1.12 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.000339/1.468, allocations: 239.8 kB / 1.72 GB, free: 15.89 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0002561/1.469, allocations: 183.6 kB / 1.72 GB, free: 15.7 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.469, allocations: 0 / 1.72 GB, free: 15.7 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 8.199e-05/1.469, allocations: 55.92 kB / 1.72 GB, free: 15.64 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008107/1.47, allocations: 175 kB / 1.72 GB, free: 15.48 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008448/1.47, allocations: 0.5216 MB / 1.721 GB, free: 14.93 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/1.471, allocations: 0.803 MB / 1.721 GB, free: 14.11 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0002231/1.471, allocations: 51.25 kB / 1.721 GB, free: 14.05 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/1.471, allocations: 39.44 kB / 1.722 GB, free: 14.02 MB / 1.135 GB Notification: Performance of SimCode: time 3.41e-07/1.471, allocations: 0 / 1.722 GB, free: 14.02 MB / 1.135 GB Notification: Performance of Templates: time 0.00986/1.481, allocations: 6.136 MB / 1.728 GB, free: 7.965 MB / 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