Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008966/0.0008966, allocations: 77.97 kB / 20.68 MB, free: 3.805 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009229/0.0009229, allocations: 181 kB / 24.09 MB, free: 408 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9468/0.9468, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.89/1.89, allocations: 377.9 MB / 0.624 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.74e-05, allocations: 3.078 kB / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.008985/0.009013, allocations: 7.204 MB / 0.819 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00413/0.01314, allocations: 2.466 MB / 0.8214 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004685/0.01361, allocations: 25.91 kB / 0.8215 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000506/0.01412, allocations: 127.1 kB / 0.8216 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.01512, allocations: 0.5352 MB / 0.8221 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005964/0.01572, allocations: 365.5 kB / 0.8224 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001118/0.01683, allocations: 1.092 MB / 0.8235 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004012/0.01723, allocations: 269 kB / 0.8238 GB, free: 5.391 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009588/0.01819, allocations: 0.5441 MB / 0.8243 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003936/0.01859, allocations: 282.5 kB / 0.8246 GB, free: 4.578 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.795e-05/0.01863, allocations: 32 kB / 0.8246 GB, free: 4.547 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002662/0.0189, allocations: 135.7 kB / 0.8247 GB, free: 4.414 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.969e-05/0.01899, allocations: 107.5 kB / 0.8248 GB, free: 4.309 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.01912, allocations: 143.7 kB / 0.825 GB, free: 4.168 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006425/0.01976, allocations: 406.6 kB / 0.8254 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.01977, allocations: 0 / 0.8254 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.763e-06/0.01977, allocations: 0 / 0.8254 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.01978, allocations: 0 / 0.8254 GB, free: 3.77 MB / 0.7761 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.0008211/0.0206, allocations: 0.7758 MB / 0.8261 GB, free: 2.953 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.02064, allocations: 8.031 kB / 0.8261 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.02081, allocations: 84.56 kB / 0.8262 GB, free: 2.863 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.02118, allocations: 347.2 kB / 0.8265 GB, free: 2.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.0212, allocations: 20.88 kB / 0.8266 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.02124, allocations: 36.27 kB / 0.8266 GB, free: 2.445 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.02156, allocations: 360.2 kB / 0.8269 GB, free: 2.043 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.02157, allocations: 0 / 0.8269 GB, free: 2.043 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.02159, allocations: 13.56 kB / 0.8269 GB, free: 2.031 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.02162, allocations: 8 kB / 0.827 GB, free: 2.023 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.02173, allocations: 82.98 kB / 0.827 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.02277, allocations: 1.292 MB / 0.8283 GB, free: 0.5938 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.02294, allocations: 91.09 kB / 0.8284 GB, free: 0.4922 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.697e-05/0.02298, allocations: 27.67 kB / 0.8284 GB, free: 472 kB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.437e-05/0.02304, allocations: 15.8 kB / 0.8284 GB, free: 460 kB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.02321, allocations: 201.9 kB / 0.8286 GB, free: 220 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 2.134e-06/0.02321, allocations: 0 / 0.8286 GB, free: 220 kB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0002216/0.02343, allocations: 141.3 kB / 0.8287 GB, free: 72 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.02346, allocations: 57.56 kB / 0.8288 GB, free: 4 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.02367, allocations: 346 kB / 0.8291 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.02369, allocations: 33.7 kB / 0.8292 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.02381, allocations: 275 kB / 0.8294 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.02385, allocations: 59.56 kB / 0.8295 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.02392, allocations: 55.34 kB / 0.8295 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.02405, allocations: 0.5195 MB / 0.83 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.01e-05/0.0241, allocations: 49.67 kB / 0.8301 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.251e-05/0.02419, allocations: 166.1 kB / 0.8303 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.02433, allocations: 204.3 kB / 0.8304 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.02433, allocations: 3.938 kB / 0.8304 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002401/0.02457, allocations: 256.6 kB / 0.8307 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.0246, allocations: 29.7 kB / 0.8307 GB, free: 13.85 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.02461, allocations: 4 kB / 0.8307 GB, free: 13.85 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.02462, allocations: 8.312 kB / 0.8307 GB, free: 13.84 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.02475, allocations: 63.89 kB / 0.8308 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.02476, allocations: 4 kB / 0.8308 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.02488, allocations: 31.81 kB / 0.8308 GB, free: 13.74 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.02489, allocations: 8 kB / 0.8308 GB, free: 13.73 MB / 0.7917 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.02499, allocations: 180.4 kB / 0.831 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.02503, allocations: 43.77 kB / 0.8311 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.0252, allocations: 126.5 kB / 0.8312 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.0252, allocations: 8 kB / 0.8312 GB, free: 13.37 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.0252, allocations: 3.984 kB / 0.8312 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001687/0.02537, allocations: 419.8 kB / 0.8316 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.02559, allocations: 209 kB / 0.8318 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.02559, allocations: 0 / 0.8318 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.212e-05/0.02567, allocations: 31.92 kB / 0.8318 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.02568, allocations: 0 / 0.8318 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.02569, allocations: 4 kB / 0.8318 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.02569, allocations: 0 / 0.8318 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.02569, allocations: 7.984 kB / 0.8318 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.0259, allocations: 197.7 kB / 0.832 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-05/0.02597, allocations: 43.78 kB / 0.8321 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.02599, allocations: 4 kB / 0.8321 GB, free: 12.33 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.727e-05/0.02609, allocations: 15.98 kB / 0.8321 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.02613, allocations: 11.97 kB / 0.8321 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.02614, allocations: 7.984 kB / 0.8321 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001115/0.02625, allocations: 226.9 kB / 0.8323 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02625, allocations: 0 / 0.8323 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002704/0.02652, allocations: 111.8 kB / 0.8324 GB, free: 11.97 MB / 0.7917 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001966/0.02672, allocations: 159 kB / 0.8326 GB, free: 11.8 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001976/0.02692, allocations: 182 kB / 0.8327 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02692, allocations: 4.188 kB / 0.8327 GB, free: 11.6 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 5.655e-05/0.02698, allocations: 51.58 kB / 0.8328 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/0.02749, allocations: 207.9 kB / 0.833 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.02849, allocations: 0.6388 MB / 0.8336 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.57e-05/0.02855, allocations: 100.6 kB / 0.8337 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001642/0.02871, allocations: 55.2 kB / 0.8338 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.02898, allocations: 210 kB / 0.834 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of SimCode: time 9.82e-07/0.02898, allocations: 0 / 0.834 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of Templates: time 0.009214/0.0382, allocations: 7.319 MB / 0.8411 GB, free: 3.184 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.143398584797978]