Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001427/0.001427, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001627/0.001627, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.336/1.336, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.978/2.978, allocations: 0.505 GB / 0.8108 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001957/0.001957, allocations: 68.2 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3084, allocations: 180.2 MB / 1.354 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01636/0.3247, allocations: 14.81 MB / 1.369 GB, free: 9.148 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005277/0.33, allocations: 3.678 MB / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004997/0.3305, allocations: 31.75 kB / 1.372 GB, free: 5.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006169/0.3311, allocations: 210.7 kB / 1.372 GB, free: 5.223 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.3325, allocations: 0.622 MB / 1.373 GB, free: 4.598 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009303/0.3335, allocations: 413.5 kB / 1.373 GB, free: 4.195 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001374/0.3348, allocations: 1.133 MB / 1.374 GB, free: 3.062 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003939/0.3352, allocations: 257 kB / 1.375 GB, free: 2.801 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.3363, allocations: 442.2 kB / 1.375 GB, free: 2.371 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004441/0.3368, allocations: 326.6 kB / 1.375 GB, free: 2.051 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.176e-05/0.3368, allocations: 36 kB / 1.375 GB, free: 2.016 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000599/0.3374, allocations: 295.4 kB / 1.376 GB, free: 1.727 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.3375, allocations: 91.62 kB / 1.376 GB, free: 1.637 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.3378, allocations: 214.9 kB / 1.376 GB, free: 1.426 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000833/0.3386, allocations: 0.6189 MB / 1.377 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3386, allocations: 0 / 1.377 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3386, allocations: 0 / 1.377 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.3386, allocations: 0 / 1.377 GB, free: 0.8047 MB / 1.061 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.00113/0.3397, allocations: 0.6816 MB / 1.377 GB, free: 88 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.3398, allocations: 8.031 kB / 1.377 GB, free: 80 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.34, allocations: 60.58 kB / 1.377 GB, free: 20 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007435/0.3407, allocations: 412.6 kB / 1.378 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.3407, allocations: 20.88 kB / 1.378 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.3408, allocations: 27.94 kB / 1.378 GB, free: 15.54 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005748/0.3413, allocations: 313.3 kB / 1.378 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.3414, allocations: 0 / 1.378 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.3414, allocations: 15.98 kB / 1.378 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.3414, allocations: 11.94 kB / 1.378 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004489/0.3419, allocations: 189.8 kB / 1.378 GB, free: 15 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.001793/0.3437, allocations: 1.429 MB / 1.38 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.3441, allocations: 146.6 kB / 1.38 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.3442, allocations: 60.81 kB / 1.38 GB, free: 13.24 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.2e-05/0.3443, allocations: 11.94 kB / 1.38 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000294/0.3446, allocations: 131.3 kB / 1.38 GB, free: 13.09 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.3446, allocations: 0 / 1.38 GB, free: 13.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0006218/0.3453, allocations: 236 kB / 1.38 GB, free: 12.86 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.3453, allocations: 55.34 kB / 1.38 GB, free: 12.79 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.3457, allocations: 349.7 kB / 1.381 GB, free: 12.45 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.3457, allocations: 37.7 kB / 1.381 GB, free: 12.4 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.3459, allocations: 224 kB / 1.381 GB, free: 12.18 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.89e-05/0.3459, allocations: 51.59 kB / 1.381 GB, free: 12.13 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.18e-05/0.346, allocations: 53.66 kB / 1.381 GB, free: 12.07 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3461, allocations: 342.8 kB / 1.381 GB, free: 11.73 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.3463, allocations: 67.95 kB / 1.381 GB, free: 11.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.3466, allocations: 145.4 kB / 1.382 GB, free: 11.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.347, allocations: 249 kB / 1.382 GB, free: 11.2 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.347, allocations: 4 kB / 1.382 GB, free: 11.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005715/0.3476, allocations: 312.7 kB / 1.382 GB, free: 10.88 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.3476, allocations: 33.7 kB / 1.382 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.3476, allocations: 320 / 1.382 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3476, allocations: 8 kB / 1.382 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.3478, allocations: 67.83 kB / 1.382 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.3478, allocations: 4 kB / 1.382 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.3481, allocations: 39.77 kB / 1.382 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.3481, allocations: 8 kB / 1.382 GB, free: 10.72 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.0001683/0.3483, allocations: 162.4 kB / 1.382 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.3483, allocations: 39.77 kB / 1.382 GB, free: 10.51 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004409/0.3488, allocations: 200.3 kB / 1.383 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.3488, allocations: 7.938 kB / 1.383 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3488, allocations: 0 / 1.383 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005121/0.3493, allocations: 483.7 kB / 1.383 GB, free: 9.742 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.3497, allocations: 320.5 kB / 1.383 GB, free: 9.387 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3497, allocations: 0 / 1.383 GB, free: 9.387 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.3498, allocations: 39.92 kB / 1.383 GB, free: 9.348 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3498, allocations: 0 / 1.383 GB, free: 9.348 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.3499, allocations: 4 kB / 1.383 GB, free: 9.344 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/0.3499, allocations: 7.922 kB / 1.383 GB, free: 9.336 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3499, allocations: 0 / 1.383 GB, free: 9.336 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006086/0.3505, allocations: 294.4 kB / 1.384 GB, free: 9.031 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.3506, allocations: 47.83 kB / 1.384 GB, free: 8.984 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.3506, allocations: 8 kB / 1.384 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.3509, allocations: 19.91 kB / 1.384 GB, free: 8.957 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.3509, allocations: 19.91 kB / 1.384 GB, free: 8.938 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.3509, allocations: 4 kB / 1.384 GB, free: 8.934 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002577/0.3512, allocations: 247.2 kB / 1.384 GB, free: 8.691 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3512, allocations: 0 / 1.384 GB, free: 8.691 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000413/0.3516, allocations: 135.6 kB / 1.384 GB, free: 8.559 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.0002901/0.3519, allocations: 190.9 kB / 1.384 GB, free: 8.359 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004736/0.3524, allocations: 219.2 kB / 1.385 GB, free: 8.133 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3524, allocations: 0 / 1.385 GB, free: 8.133 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.3525, allocations: 63.89 kB / 1.385 GB, free: 8.07 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008818/0.3534, allocations: 220.3 kB / 1.385 GB, free: 7.859 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.3548, allocations: 0.7606 MB / 1.386 GB, free: 7.07 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.3552, allocations: 0.7956 MB / 1.386 GB, free: 6.246 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.184e-05/0.3553, allocations: 43.42 kB / 1.386 GB, free: 6.207 MB / 1.076 GB Notification: Performance of SimCode: time 4.41e-07/0.3553, allocations: 0 / 1.386 GB, free: 6.207 MB / 1.076 GB Notification: Performance of Templates: time 0.009248/0.3645, allocations: 6.181 MB / 1.392 GB, free: 76 kB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.001322880008956]