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.001917/0.001917, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00244/0.00244, allocations: 161.6 kB / 23.55 MB, free: 0.8906 MB / 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 1.645/1.645, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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 2.898/2.898, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] 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.653e-06/1.653e-06, allocations: 0 / 0.8108 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.626e-05, allocations: 3.219 kB / 0.8108 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01964/0.01967, allocations: 13.44 MB / 0.8239 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00641/0.02608, allocations: 3.387 MB / 0.8272 GB, free: 156 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006035/0.02668, allocations: 23.81 kB / 0.8272 GB, free: 132 kB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008608/0.02754, allocations: 210.5 kB / 0.8274 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.02956, allocations: 0.6393 MB / 0.8281 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.03071, allocations: 422.7 kB / 0.8285 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001795/0.0325, allocations: 1.102 MB / 0.8295 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005807/0.03308, allocations: 269 kB / 0.8298 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.03484, allocations: 0.5682 MB / 0.8304 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006407/0.03548, allocations: 279.1 kB / 0.8306 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.513e-05/0.03557, allocations: 36 kB / 0.8307 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006245/0.0362, allocations: 219.5 kB / 0.8309 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.03636, allocations: 103.6 kB / 0.831 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.03662, allocations: 151.6 kB / 0.8311 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.03788, allocations: 0.6075 MB / 0.8317 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.03789, allocations: 3.984 kB / 0.8317 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.673e-06/0.03789, allocations: 0 / 0.8317 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.003e-05/0.03791, allocations: 0 / 0.8317 GB, free: 11.55 MB / 0.7448 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.00176/0.03967, allocations: 0.6854 MB / 0.8324 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.03971, allocations: 8.031 kB / 0.8324 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003356/0.04004, allocations: 80.58 kB / 0.8325 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009331/0.04098, allocations: 427.9 kB / 0.8329 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.041, allocations: 16.88 kB / 0.8329 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.378e-05/0.04108, allocations: 32.36 kB / 0.8329 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007797/0.04186, allocations: 416.4 kB / 0.8333 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.04188, allocations: 4 kB / 0.8333 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.04191, allocations: 8 kB / 0.8333 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.04193, allocations: 8 kB / 0.8333 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000559/0.04249, allocations: 197.8 kB / 0.8335 GB, free: 9.586 MB / 0.7448 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.00201/0.0445, allocations: 1.1 MB / 0.8346 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005044/0.04501, allocations: 154.6 kB / 0.8347 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.0452, allocations: 64.81 kB / 0.8348 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.784e-05/0.0453, allocations: 8 kB / 0.8348 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004133/0.04571, allocations: 230.1 kB / 0.835 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.04572, allocations: 0 / 0.835 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0008/0.04652, allocations: 241.3 kB / 0.8353 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.04657, allocations: 51.41 kB / 0.8353 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/0.047, allocations: 328.5 kB / 0.8356 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.04704, allocations: 29.7 kB / 0.8357 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.04724, allocations: 224.4 kB / 0.8359 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.444e-05/0.04731, allocations: 55.53 kB / 0.8359 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.946e-05/0.04741, allocations: 57.59 kB / 0.836 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.04761, allocations: 346.7 kB / 0.8363 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.04786, allocations: 105.6 kB / 0.8364 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.04816, allocations: 175.1 kB / 0.8366 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/0.04867, allocations: 249.2 kB / 0.8368 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.04868, allocations: 0 / 0.8368 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000756/0.04943, allocations: 346.8 kB / 0.8371 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.04948, allocations: 34.02 kB / 0.8372 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.04949, allocations: 8 kB / 0.8372 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/0.04952, allocations: 7.984 kB / 0.8372 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.04978, allocations: 59.91 kB / 0.8372 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.04979, allocations: 7.938 kB / 0.8373 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.05006, allocations: 31.83 kB / 0.8373 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.05009, allocations: 8 kB / 0.8373 GB, free: 5.461 MB / 0.7448 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.0002113/0.0503, allocations: 165.6 kB / 0.8375 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.239e-05/0.05037, allocations: 35.81 kB / 0.8375 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005402/0.05091, allocations: 201.8 kB / 0.8377 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.05091, allocations: 0 / 0.8377 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.05092, allocations: 0 / 0.8377 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006286/0.05155, allocations: 487.6 kB / 0.8381 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.05198, allocations: 249.1 kB / 0.8384 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.05199, allocations: 0 / 0.8384 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.05217, allocations: 35.98 kB / 0.8384 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.05217, allocations: 0 / 0.8384 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.05219, allocations: 0 / 0.8384 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.05219, allocations: 0 / 0.8384 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.0522, allocations: 7.984 kB / 0.8384 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008528/0.05305, allocations: 290 kB / 0.8387 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.05318, allocations: 47.77 kB / 0.8387 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.05322, allocations: 8 kB / 0.8388 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.05346, allocations: 19.97 kB / 0.8388 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.13e-05/0.05354, allocations: 15.97 kB / 0.8388 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.05356, allocations: 8 kB / 0.8388 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002921/0.05386, allocations: 235 kB / 0.839 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.05386, allocations: 0 / 0.839 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004789/0.05433, allocations: 131.7 kB / 0.8391 GB, free: 3.414 MB / 0.7448 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.0003598/0.05469, allocations: 187.1 kB / 0.8393 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005624/0.05526, allocations: 253.2 kB / 0.8396 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.361e-06/0.05526, allocations: 4 kB / 0.8396 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.05547, allocations: 66.3 kB / 0.8396 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009526/0.05642, allocations: 197.9 kB / 0.8398 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.0579, allocations: 0.6677 MB / 0.8405 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.05811, allocations: 185.1 kB / 0.8406 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000246/0.05836, allocations: 67.19 kB / 0.8407 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.05846, allocations: 36.48 kB / 0.8407 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of SimCode: time 3.2e-07/0.05846, allocations: 0 / 0.8407 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of Templates: time 0.01481/0.07327, allocations: 7.213 MB / 0.8478 GB, free: 10.7 MB / 0.7605 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.27596919098869]