Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 249.3 MB / 261.8 MB, free: 5.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001313/0.001313, allocations: 178.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009223/0.0009223, allocations: 87 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.08e-05/4.106e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2597, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.705/1.965, allocations: 387.4 MB / 1.27 GB, free: 324.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/1.965, allocations: 86.02 kB / 1.27 GB, free: 324.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2105/2.176, allocations: 100.9 MB / 1.369 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.134e-06/2.176, allocations: 0 / 1.369 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.633e-05/2.176, allocations: 15.88 kB / 1.369 GB, free: 250.5 MB / 0.8698 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.0009849/2.177, allocations: 0.6552 MB / 1.369 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/2.177, allocations: 12.02 kB / 1.369 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/2.177, allocations: 47.48 kB / 1.369 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01168/2.189, allocations: 6.487 MB / 1.376 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/2.189, allocations: 20.56 kB / 1.376 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/2.189, allocations: 24 kB / 1.376 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005826/2.189, allocations: 282.2 kB / 1.376 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/2.19, allocations: 4 kB / 1.376 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/2.19, allocations: 11.98 kB / 1.376 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/2.19, allocations: 8 kB / 1.376 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/2.19, allocations: 166.1 kB / 1.376 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/2.192, allocations: 1.485 MB / 1.378 GB, free: 241 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/2.192, allocations: 122.7 kB / 1.378 GB, free: 240.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.867e-05/2.192, allocations: 58.36 kB / 1.378 GB, free: 240.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/2.192, allocations: 89.09 kB / 1.378 GB, free: 240.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/2.193, allocations: 111.2 kB / 1.378 GB, free: 240.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 2.665e-06/2.193, allocations: 4 kB / 1.378 GB, free: 240.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0003227/2.193, allocations: 146.4 kB / 1.378 GB, free: 240.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/2.193, allocations: 63.34 kB / 1.378 GB, free: 240.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/2.193, allocations: 311.6 kB / 1.379 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/2.193, allocations: 29.7 kB / 1.379 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/2.194, allocations: 215.8 kB / 1.379 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/2.194, allocations: 51.3 kB / 1.379 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/2.194, allocations: 4 kB / 1.379 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.978e-05/2.194, allocations: 342.8 kB / 1.379 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-05/2.194, allocations: 51.98 kB / 1.379 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/2.194, allocations: 141.3 kB / 1.379 GB, free: 239.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/2.194, allocations: 93.67 kB / 1.38 GB, free: 239.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/2.194, allocations: 4 kB / 1.38 GB, free: 239.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003861/2.195, allocations: 286 kB / 1.38 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/2.195, allocations: 29.7 kB / 1.38 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/2.195, allocations: 4 kB / 1.38 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/2.195, allocations: 7.953 kB / 1.38 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/2.195, allocations: 63.89 kB / 1.38 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/2.195, allocations: 4 kB / 1.38 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/2.195, allocations: 43.83 kB / 1.38 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/2.195, allocations: 8 kB / 1.38 GB, free: 238.7 MB / 0.8698 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.354e-05/2.195, allocations: 120.9 kB / 1.38 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/2.195, allocations: 31.62 kB / 1.38 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/2.196, allocations: 161.8 kB / 1.38 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/2.196, allocations: 7.953 kB / 1.38 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/2.196, allocations: 0 / 1.38 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003168/2.196, allocations: 462.7 kB / 1.381 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/2.197, allocations: 357.3 kB / 1.381 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/2.197, allocations: 0 / 1.381 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/2.197, allocations: 35.91 kB / 1.381 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/2.197, allocations: 0 / 1.381 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/2.197, allocations: 4 kB / 1.381 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/2.197, allocations: 0 / 1.381 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/2.197, allocations: 3.953 kB / 1.381 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/2.197, allocations: 236.7 kB / 1.381 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/2.197, allocations: 128.7 kB / 1.381 GB, free: 237 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/2.197, allocations: 7.984 kB / 1.381 GB, free: 237 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/2.198, allocations: 19.92 kB / 1.381 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.374e-05/2.198, allocations: 19.97 kB / 1.381 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/2.198, allocations: 11.89 kB / 1.381 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002524/2.198, allocations: 246.2 kB / 1.382 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/2.198, allocations: 4 kB / 1.382 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005248/2.198, allocations: 132 kB / 1.382 GB, free: 236.5 MB / 0.8698 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.0004279/2.199, allocations: 247.8 kB / 1.382 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003365/2.199, allocations: 199.2 kB / 1.382 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/2.199, allocations: 0 / 1.382 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.587e-05/2.199, allocations: 56.55 kB / 1.382 GB, free: 236 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009338/2.2, allocations: 195.8 kB / 1.383 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009642/2.201, allocations: 0.5264 MB / 1.383 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/2.202, allocations: 0.8 MB / 1.384 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002325/2.202, allocations: 67.17 kB / 1.384 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.127e-05/2.202, allocations: 31.42 kB / 1.384 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of SimCode: time 4.21e-07/2.202, allocations: 4 kB / 1.384 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.01092/2.213, allocations: 7.275 MB / 1.391 GB, free: 227.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches