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.001368/0.001368, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001466/0.001466, allocations: 161.9 kB / 23.01 MB, free: 4.598 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.519/1.519, allocations: 177.2 MB / 203.4 MB, free: 8.898 MB / 190.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.639/2.639, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 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.002163/0.002163, allocations: 63.89 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3319, allocations: 169.9 MB / 1.117 GB, free: 2.555 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01738/0.3493, allocations: 13.49 MB / 1.131 GB, free: 5.004 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007525/0.3568, allocations: 3.393 MB / 1.134 GB, free: 1.605 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005432/0.3574, allocations: 27.81 kB / 1.134 GB, free: 1.578 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008632/0.3582, allocations: 206.7 kB / 1.134 GB, free: 1.375 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.3603, allocations: 0.618 MB / 1.135 GB, free: 0.7539 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.3616, allocations: 408.9 kB / 1.135 GB, free: 364 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.5897/0.9512, allocations: 1.109 MB / 1.136 GB, free: 43.76 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004255/0.9517, allocations: 248.8 kB / 1.136 GB, free: 43.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.9527, allocations: 407.1 kB / 1.137 GB, free: 43.75 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003714/0.9531, allocations: 309 kB / 1.137 GB, free: 43.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.118e-05/0.9531, allocations: 34.19 kB / 1.137 GB, free: 43.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004989/0.9536, allocations: 219.4 kB / 1.137 GB, free: 43.73 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.623e-05/0.9537, allocations: 105.1 kB / 1.137 GB, free: 43.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.9539, allocations: 175.7 kB / 1.138 GB, free: 43.67 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006574/0.9545, allocations: 0.6043 MB / 1.138 GB, free: 43.59 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.9545, allocations: 2.906 kB / 1.138 GB, free: 43.59 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.724e-06/0.9545, allocations: 0 / 1.138 GB, free: 43.59 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.9546, allocations: 0 / 1.138 GB, free: 43.59 MB / 1.076 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.0009467/0.9555, allocations: 0.6807 MB / 1.139 GB, free: 43.14 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.9555, allocations: 8.469 kB / 1.139 GB, free: 43.14 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.9557, allocations: 53.27 kB / 1.139 GB, free: 43.12 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000614/0.9563, allocations: 408.3 kB / 1.139 GB, free: 42.95 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.9563, allocations: 20.44 kB / 1.139 GB, free: 42.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.9564, allocations: 33.98 kB / 1.139 GB, free: 42.94 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.9569, allocations: 419.2 kB / 1.14 GB, free: 42.74 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.9569, allocations: 3.938 kB / 1.14 GB, free: 42.73 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.9569, allocations: 11.22 kB / 1.14 GB, free: 42.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.9569, allocations: 10.5 kB / 1.14 GB, free: 42.73 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004186/0.9574, allocations: 192.2 kB / 1.14 GB, free: 42.73 MB / 1.076 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.001275/0.9586, allocations: 1.088 MB / 1.141 GB, free: 42.12 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.959, allocations: 152.9 kB / 1.141 GB, free: 42.1 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.9592, allocations: 56.98 kB / 1.141 GB, free: 42.09 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.071e-05/0.9593, allocations: 13.66 kB / 1.141 GB, free: 42.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002785/0.9596, allocations: 236.9 kB / 1.142 GB, free: 41.92 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.9596, allocations: 0 / 1.142 GB, free: 41.92 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0005823/0.9601, allocations: 234 kB / 1.142 GB, free: 41.87 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.9602, allocations: 53.97 kB / 1.142 GB, free: 41.8 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.9604, allocations: 328.8 kB / 1.142 GB, free: 41.69 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.9605, allocations: 35.48 kB / 1.142 GB, free: 41.66 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.9606, allocations: 214.3 kB / 1.142 GB, free: 41.53 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.9606, allocations: 55.22 kB / 1.142 GB, free: 41.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/0.9607, allocations: 61.73 kB / 1.142 GB, free: 41.48 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.323e-05/0.9607, allocations: 345.5 kB / 1.143 GB, free: 41.16 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.9609, allocations: 95.72 kB / 1.143 GB, free: 41.13 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.9611, allocations: 172.4 kB / 1.143 GB, free: 41.01 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.9615, allocations: 243.2 kB / 1.143 GB, free: 40.89 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9615, allocations: 7.25 kB / 1.143 GB, free: 40.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005206/0.962, allocations: 334 kB / 1.144 GB, free: 40.78 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.962, allocations: 36.39 kB / 1.144 GB, free: 40.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.962, allocations: 2.812 kB / 1.144 GB, free: 40.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.9621, allocations: 13.98 kB / 1.144 GB, free: 40.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.9623, allocations: 57.67 kB / 1.144 GB, free: 40.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.9623, allocations: 6.312 kB / 1.144 GB, free: 40.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.9625, allocations: 40.77 kB / 1.144 GB, free: 40.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.9625, allocations: 10.06 kB / 1.144 GB, free: 40.73 MB / 1.076 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.0001185/0.9627, allocations: 160.2 kB / 1.144 GB, free: 40.61 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.9627, allocations: 31.47 kB / 1.144 GB, free: 40.6 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.9631, allocations: 198.8 kB / 1.144 GB, free: 40.55 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.9631, allocations: 0 / 1.144 GB, free: 40.55 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.9631, allocations: 4.469 kB / 1.144 GB, free: 40.55 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003644/0.9635, allocations: 484.3 kB / 1.145 GB, free: 40.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.9638, allocations: 254.6 kB / 1.145 GB, free: 39.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.9638, allocations: 0 / 1.145 GB, free: 39.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.9639, allocations: 34.84 kB / 1.145 GB, free: 39.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.9639, allocations: 4 kB / 1.145 GB, free: 39.98 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.9639, allocations: 2.938 kB / 1.145 GB, free: 39.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.9639, allocations: 0 / 1.145 GB, free: 39.98 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9639, allocations: 1.406 kB / 1.145 GB, free: 39.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005266/0.9645, allocations: 287.2 kB / 1.145 GB, free: 39.89 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.463e-05/0.9646, allocations: 45.23 kB / 1.145 GB, free: 39.88 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.9646, allocations: 5.719 kB / 1.145 GB, free: 39.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.9648, allocations: 24.94 kB / 1.145 GB, free: 39.88 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.9649, allocations: 15.97 kB / 1.145 GB, free: 39.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.9649, allocations: 8.656 kB / 1.145 GB, free: 39.88 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001939/0.9651, allocations: 230.4 kB / 1.145 GB, free: 39.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9651, allocations: 0 / 1.145 GB, free: 39.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003974/0.9655, allocations: 130.7 kB / 1.146 GB, free: 39.77 MB / 1.076 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.0002309/0.9657, allocations: 183.3 kB / 1.146 GB, free: 39.66 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004362/0.9662, allocations: 255.2 kB / 1.146 GB, free: 39.57 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9662, allocations: 4.062 kB / 1.146 GB, free: 39.57 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.9663, allocations: 65.25 kB / 1.146 GB, free: 39.56 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008253/0.9671, allocations: 191.5 kB / 1.146 GB, free: 39.56 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.9683, allocations: 0.7455 MB / 1.147 GB, free: 39.15 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.9685, allocations: 184.2 kB / 1.147 GB, free: 39.07 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002009/0.9687, allocations: 64.83 kB / 1.147 GB, free: 39.06 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.849e-05/0.9687, allocations: 35.78 kB / 1.147 GB, free: 39.05 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.9687, allocations: 0 / 1.147 GB, free: 39.05 MB / 1.076 GB Notification: Performance of Templates: time 0.01097/0.9797, allocations: 7.208 MB / 1.154 GB, free: 38.23 MB / 1.076 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 -s ida -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: 8.891511816065758]