Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001875/0.001875, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001693/0.001693, allocations: 218.9 kB / 23 MB, free: 4.914 MB / 14.72 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 1.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.737/2.737, allocations: 476 MB / 0.7707 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 69.17 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3396, allocations: 170 MB / 1.284 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01824/0.3579, allocations: 13.49 MB / 1.297 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00622/0.3641, allocations: 3.388 MB / 1.3 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007198/0.3648, allocations: 27.75 kB / 1.3 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007369/0.3655, allocations: 202.7 kB / 1.3 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.3675, allocations: 0.6298 MB / 1.301 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.3686, allocations: 407.5 kB / 1.301 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.3702, allocations: 1.109 MB / 1.303 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004368/0.3707, allocations: 261.5 kB / 1.303 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.3717, allocations: 408.5 kB / 1.303 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004456/0.3722, allocations: 302.6 kB / 1.303 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.037e-05/0.3722, allocations: 36 kB / 1.304 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000532/0.3728, allocations: 219.5 kB / 1.304 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.3729, allocations: 103.5 kB / 1.304 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.3731, allocations: 175.2 kB / 1.304 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009065/0.374, allocations: 0.6033 MB / 1.305 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.374, allocations: 0 / 1.305 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.714e-06/0.374, allocations: 7.938 kB / 1.305 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.545e-06/0.374, allocations: 0 / 1.305 GB, free: 6.578 MB / 0.9981 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.001297/0.3753, allocations: 0.6816 MB / 1.305 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3754, allocations: 8.031 kB / 1.305 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.3756, allocations: 48.66 kB / 1.305 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008316/0.3764, allocations: 412.8 kB / 1.306 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.3764, allocations: 20.88 kB / 1.306 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/0.3765, allocations: 27.94 kB / 1.306 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006859/0.3772, allocations: 420 kB / 1.306 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.3772, allocations: 0 / 1.306 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.3772, allocations: 12 kB / 1.306 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.3772, allocations: 4 kB / 1.306 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004841/0.3777, allocations: 189.8 kB / 1.306 GB, free: 4.672 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.3795, allocations: 1.104 MB / 1.307 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/0.38, allocations: 146.6 kB / 1.308 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.3801, allocations: 60.81 kB / 1.308 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.764e-05/0.3802, allocations: 8 kB / 1.308 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000379/0.3806, allocations: 238.1 kB / 1.308 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.3806, allocations: 0 / 1.308 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0006685/0.3813, allocations: 234.9 kB / 1.308 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.3813, allocations: 59.34 kB / 1.308 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/0.3817, allocations: 328.5 kB / 1.308 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.3817, allocations: 29.7 kB / 1.308 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.3819, allocations: 220.4 kB / 1.309 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.731e-05/0.382, allocations: 59.53 kB / 1.309 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.3821, allocations: 57.66 kB / 1.309 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.3823, allocations: 342.8 kB / 1.309 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.3825, allocations: 97.66 kB / 1.309 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.3828, allocations: 176.3 kB / 1.309 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/0.3833, allocations: 244.4 kB / 1.31 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3833, allocations: 7.938 kB / 1.31 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006487/0.3839, allocations: 342.6 kB / 1.31 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.315e-05/0.384, allocations: 33.7 kB / 1.31 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.384, allocations: 7.938 kB / 1.31 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.384, allocations: 4 kB / 1.31 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.3842, allocations: 47.97 kB / 1.31 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.3842, allocations: 11.88 kB / 1.31 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.3845, allocations: 40.14 kB / 1.31 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.3845, allocations: 15.98 kB / 1.31 GB, free: 0.5586 MB / 0.9981 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.0002065/0.3847, allocations: 161.7 kB / 1.31 GB, free: 400 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/0.3848, allocations: 27.81 kB / 1.31 GB, free: 372 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004852/0.3853, allocations: 188.5 kB / 1.31 GB, free: 176 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.3853, allocations: 0 / 1.31 GB, free: 176 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.751e-05/0.3853, allocations: 3.938 kB / 1.31 GB, free: 172 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006092/0.3859, allocations: 498.7 kB / 1.311 GB, free: 15.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.3864, allocations: 253.1 kB / 1.311 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3864, allocations: 0 / 1.311 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.3866, allocations: 27.98 kB / 1.311 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.3866, allocations: 3.984 kB / 1.311 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.3866, allocations: 4 kB / 1.311 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3866, allocations: 0 / 1.311 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3866, allocations: 0 / 1.311 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006954/0.3873, allocations: 296.6 kB / 1.312 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.3874, allocations: 43.78 kB / 1.312 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.514e-05/0.3875, allocations: 7.984 kB / 1.312 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.3877, allocations: 15.98 kB / 1.312 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.3878, allocations: 19.97 kB / 1.312 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.3878, allocations: 7.938 kB / 1.312 GB, free: 14.88 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002841/0.3881, allocations: 231 kB / 1.312 GB, free: 14.66 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3881, allocations: 0 / 1.312 GB, free: 14.66 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005097/0.3886, allocations: 135.7 kB / 1.312 GB, free: 14.52 MB / 1.014 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.0003657/0.389, allocations: 187.1 kB / 1.312 GB, free: 14.33 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005565/0.3895, allocations: 252.8 kB / 1.312 GB, free: 14.07 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3895, allocations: 3.938 kB / 1.312 GB, free: 14.06 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.3897, allocations: 67.95 kB / 1.312 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009269/0.3906, allocations: 191 kB / 1.313 GB, free: 13.82 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.3922, allocations: 0.7723 MB / 1.313 GB, free: 13.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.3923, allocations: 189.1 kB / 1.314 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.083e-05/0.3924, allocations: 27.44 kB / 1.314 GB, free: 12.79 MB / 1.014 GB Notification: Performance of SimCode: time 4.2e-07/0.3924, allocations: 0 / 1.314 GB, free: 12.79 MB / 1.014 GB Notification: Performance of Templates: time 0.01016/0.4026, allocations: 6.102 MB / 1.32 GB, free: 6.734 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.119178325869143]