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: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 180.2 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008293/0.0008292, allocations: 83.06 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003842, allocations: 6.312 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2314, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9478/1.179, allocations: 387.5 MB / 1.279 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000354/1.18, allocations: 88.34 kB / 1.279 GB, free: 11.83 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.2141/1.394, allocations: 101.2 MB / 1.377 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.493e-06/1.394, allocations: 4 kB / 1.377 GB, free: 3.242 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.966e-05/1.394, allocations: 19.92 kB / 1.377 GB, free: 3.223 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.001296/1.395, allocations: 0.7017 MB / 1.378 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/1.395, allocations: 12.02 kB / 1.378 GB, free: 2.449 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/1.395, allocations: 59.39 kB / 1.378 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01445/1.41, allocations: 6.531 MB / 1.385 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.506e-05/1.41, allocations: 20.56 kB / 1.385 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.108e-05/1.41, allocations: 35.92 kB / 1.385 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/1.411, allocations: 298.2 kB / 1.385 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/1.411, allocations: 3.938 kB / 1.385 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/1.411, allocations: 15.98 kB / 1.385 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/1.411, allocations: 12 kB / 1.385 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005134/1.411, allocations: 206 kB / 1.385 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/1.414, allocations: 1.473 MB / 1.387 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/1.414, allocations: 166.6 kB / 1.387 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/1.414, allocations: 89.09 kB / 1.387 GB, free: 9.273 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003095/1.414, allocations: 131.3 kB / 1.387 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 2.315e-06/1.414, allocations: 0 / 1.387 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.000658/1.415, allocations: 259.8 kB / 1.387 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/1.415, allocations: 51.41 kB / 1.387 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/1.416, allocations: 312.8 kB / 1.388 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/1.416, allocations: 29.7 kB / 1.388 GB, free: 8.469 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/1.416, allocations: 223.7 kB / 1.388 GB, free: 8.246 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/1.416, allocations: 43.36 kB / 1.388 GB, free: 8.203 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.418e-05/1.416, allocations: 8 kB / 1.388 GB, free: 8.195 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.416, allocations: 350.8 kB / 1.388 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/1.416, allocations: 67.95 kB / 1.388 GB, free: 7.777 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/1.416, allocations: 153.4 kB / 1.388 GB, free: 7.594 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/1.417, allocations: 118.1 kB / 1.389 GB, free: 7.473 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.417, allocations: 4 kB / 1.389 GB, free: 7.469 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005949/1.417, allocations: 319.8 kB / 1.389 GB, free: 7.145 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/1.417, allocations: 33.7 kB / 1.389 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/1.417, allocations: 0 / 1.389 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/1.417, allocations: 7.953 kB / 1.389 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/1.418, allocations: 60.16 kB / 1.389 GB, free: 7.039 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/1.418, allocations: 15.92 kB / 1.389 GB, free: 7.023 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/1.418, allocations: 39.67 kB / 1.389 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/1.418, allocations: 15.94 kB / 1.389 GB, free: 6.969 MB / 0.8855 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 () * Number of clocked 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 0.0001724/1.418, allocations: 153.8 kB / 1.389 GB, free: 6.809 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/1.418, allocations: 35.61 kB / 1.389 GB, free: 6.773 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004738/1.419, allocations: 204.4 kB / 1.389 GB, free: 6.566 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.419, allocations: 7.938 kB / 1.389 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/1.419, allocations: 3.953 kB / 1.389 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005322/1.419, allocations: 499.6 kB / 1.39 GB, free: 5.98 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000457/1.42, allocations: 349.4 kB / 1.39 GB, free: 5.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.42, allocations: 0 / 1.39 GB, free: 5.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/1.42, allocations: 35.97 kB / 1.39 GB, free: 5.555 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/1.42, allocations: 0 / 1.39 GB, free: 5.555 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/1.42, allocations: 4 kB / 1.39 GB, free: 5.551 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.42, allocations: 4 kB / 1.39 GB, free: 5.547 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.42, allocations: 0 / 1.39 GB, free: 5.547 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006158/1.421, allocations: 307.7 kB / 1.391 GB, free: 5.23 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/1.421, allocations: 124.8 kB / 1.391 GB, free: 5.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/1.421, allocations: 8 kB / 1.391 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/1.421, allocations: 27.83 kB / 1.391 GB, free: 5.055 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.112e-05/1.421, allocations: 15.97 kB / 1.391 GB, free: 5.039 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/1.421, allocations: 11.98 kB / 1.391 GB, free: 5.027 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002632/1.421, allocations: 251.1 kB / 1.391 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.81e-07/1.421, allocations: 4 kB / 1.391 GB, free: 4.781 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004981/1.422, allocations: 132 kB / 1.391 GB, free: 4.652 MB / 0.8855 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) * Number of clocked states: 0 () * 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.0004213/1.422, allocations: 228.4 kB / 1.391 GB, free: 4.418 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005029/1.423, allocations: 249.1 kB / 1.392 GB, free: 4.164 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.423, allocations: 0 / 1.392 GB, free: 4.164 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/1.423, allocations: 75.89 kB / 1.392 GB, free: 4.09 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009722/1.424, allocations: 198.8 kB / 1.392 GB, free: 3.898 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/1.426, allocations: 0.9481 MB / 1.393 GB, free: 2.926 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/1.426, allocations: 0.7923 MB / 1.394 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002599/1.426, allocations: 63.25 kB / 1.394 GB, free: 2.043 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.957e-05/1.426, allocations: 35.42 kB / 1.394 GB, free: 2.008 MB / 0.8855 GB Notification: Performance of SimCode: time 5.91e-07/1.426, allocations: 0 / 1.394 GB, free: 2.008 MB / 0.8855 GB Notification: Performance of Templates: time 0.4823/1.909, allocations: 7.096 MB / 1.401 GB, free: 293.3 MB / 0.8855 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