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.001191/0.001191, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001035/0.001035, allocations: 169 kB / 24.28 MB, free: 276 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.9886/0.9886, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.492e-06/1.492e-06, allocations: 0 / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.744e-05, allocations: 7.312 kB / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01159/0.01162, allocations: 14.97 MB / 0.8261 GB, free: 3.105 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004128/0.01575, allocations: 3.713 MB / 0.8297 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00043/0.01618, allocations: 23.81 kB / 0.8298 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0005634/0.01674, allocations: 210.6 kB / 0.83 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.01802, allocations: 0.6448 MB / 0.8306 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006689/0.01869, allocations: 410.8 kB / 0.831 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.001032/0.01972, allocations: 1.102 MB / 0.8321 GB, free: 13.01 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003557/0.02008, allocations: 277 kB / 0.8323 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008525/0.02093, allocations: 0.5722 MB / 0.8329 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.02125, allocations: 275.1 kB / 0.8332 GB, free: 11.9 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.902e-05/0.02129, allocations: 32 kB / 0.8332 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003614/0.02165, allocations: 227.4 kB / 0.8334 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 9.11e-05/0.02174, allocations: 99.61 kB / 0.8335 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.02188, allocations: 151.6 kB / 0.8336 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0005693/0.02245, allocations: 462.5 kB / 0.8341 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.02245, allocations: 0 / 0.8341 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.452e-06/0.02245, allocations: 0 / 0.8341 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.02246, allocations: 0 / 0.8341 GB, free: 10.95 MB / 0.7917 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.000848/0.0233, allocations: 0.7888 MB / 0.8349 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.02334, allocations: 8.031 kB / 0.8349 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.02352, allocations: 72.59 kB / 0.8349 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005156/0.02403, allocations: 414.8 kB / 0.8353 GB, free: 9.605 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.02405, allocations: 20.88 kB / 0.8353 GB, free: 9.586 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.0241, allocations: 32.38 kB / 0.8354 GB, free: 9.555 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/0.02446, allocations: 367.3 kB / 0.8357 GB, free: 9.145 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.02448, allocations: 4 kB / 0.8357 GB, free: 9.141 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.0245, allocations: 8 kB / 0.8357 GB, free: 9.133 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.02453, allocations: 11.94 kB / 0.8358 GB, free: 9.121 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.02469, allocations: 98.86 kB / 0.8358 GB, free: 9.027 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.02576, allocations: 1.294 MB / 0.8371 GB, free: 7.668 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.02596, allocations: 91.11 kB / 0.8372 GB, free: 7.566 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.02601, allocations: 39.67 kB / 0.8372 GB, free: 7.523 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 7.729e-05/0.02609, allocations: 15.98 kB / 0.8372 GB, free: 7.508 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.02626, allocations: 201.5 kB / 0.8374 GB, free: 7.273 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.02626, allocations: 0 / 0.8374 GB, free: 7.273 MB / 0.7917 GB Notification: Performance of matching and sorting (n=15): time 0.0002628/0.02653, allocations: 153.3 kB / 0.8376 GB, free: 7.117 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.02656, allocations: 55.41 kB / 0.8376 GB, free: 7.051 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.0268, allocations: 358.2 kB / 0.838 GB, free: 6.684 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.02682, allocations: 29.7 kB / 0.838 GB, free: 6.648 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.02694, allocations: 267.1 kB / 0.8383 GB, free: 6.379 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.02698, allocations: 63.52 kB / 0.8383 GB, free: 6.316 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.02704, allocations: 55.36 kB / 0.8384 GB, free: 6.254 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.02717, allocations: 0.5117 MB / 0.8389 GB, free: 5.73 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.415e-05/0.02724, allocations: 61.67 kB / 0.8389 GB, free: 5.664 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.02735, allocations: 170.1 kB / 0.8391 GB, free: 5.445 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.02751, allocations: 212.6 kB / 0.8393 GB, free: 5.188 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.02752, allocations: 4 kB / 0.8393 GB, free: 5.184 MB / 0.7917 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002692/0.02779, allocations: 274.3 kB / 0.8396 GB, free: 4.898 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.02782, allocations: 33.7 kB / 0.8396 GB, free: 4.859 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.02782, allocations: 0 / 0.8396 GB, free: 4.859 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.02783, allocations: 4 kB / 0.8396 GB, free: 4.855 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.02797, allocations: 59.91 kB / 0.8397 GB, free: 4.797 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.02798, allocations: 4 kB / 0.8397 GB, free: 4.793 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.0281, allocations: 36.08 kB / 0.8397 GB, free: 4.758 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.02811, allocations: 12 kB / 0.8397 GB, free: 4.746 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.0001001/0.02821, allocations: 176.5 kB / 0.8399 GB, free: 4.562 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.02825, allocations: 39.8 kB / 0.8399 GB, free: 4.523 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.02844, allocations: 135.1 kB / 0.84 GB, free: 4.387 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.02844, allocations: 4 kB / 0.84 GB, free: 4.383 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.02844, allocations: 0 / 0.84 GB, free: 4.383 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001989/0.02864, allocations: 431.7 kB / 0.8405 GB, free: 3.875 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.02891, allocations: 264.4 kB / 0.8407 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.02891, allocations: 0 / 0.8407 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.477e-05/0.02899, allocations: 31.92 kB / 0.8407 GB, free: 3.551 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.029, allocations: 4 kB / 0.8407 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.02901, allocations: 0 / 0.8407 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.02901, allocations: 0 / 0.8407 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02901, allocations: 0 / 0.8407 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.02924, allocations: 204.1 kB / 0.8409 GB, free: 3.324 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 6.999e-05/0.02931, allocations: 43.78 kB / 0.841 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.02934, allocations: 8 kB / 0.841 GB, free: 3.273 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.736e-05/0.02944, allocations: 7.984 kB / 0.841 GB, free: 3.266 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.02949, allocations: 19.97 kB / 0.841 GB, free: 3.246 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.02951, allocations: 12 kB / 0.841 GB, free: 3.234 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001426/0.02965, allocations: 246.9 kB / 0.8413 GB, free: 2.992 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.02965, allocations: 0 / 0.8413 GB, free: 2.992 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002952/0.02995, allocations: 127.7 kB / 0.8414 GB, free: 2.867 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.0002534/0.0302, allocations: 191 kB / 0.8416 GB, free: 2.672 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.03043, allocations: 198.9 kB / 0.8418 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.03043, allocations: 4 kB / 0.8418 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 6.211e-05/0.03049, allocations: 44.23 kB / 0.8418 GB, free: 2.406 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/0.03103, allocations: 210.4 kB / 0.842 GB, free: 2.211 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.0321, allocations: 0.635 MB / 0.8426 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.233e-05/0.03216, allocations: 96.61 kB / 0.8427 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001453/0.0323, allocations: 55.25 kB / 0.8428 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.872e-05/0.03236, allocations: 40.48 kB / 0.8428 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of SimCode: time 7.31e-07/0.03236, allocations: 0 / 0.8428 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of Templates: time 0.008986/0.04135, allocations: 7.251 MB / 0.8499 GB, free: 10.28 MB / 0.8073 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.443847846006975]