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.001779/0.001779, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002285/0.002285, allocations: 208.4 kB / 22.24 MB, free: 5.262 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.347/3.347, allocations: 0.4892 GB / 0.7943 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002143/0.002143, allocations: 73 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3937, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.02322/0.4169, allocations: 13.5 MB / 1.339 GB, free: 4.297 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006878/0.4238, allocations: 3.405 MB / 1.342 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.4248, allocations: 23.81 kB / 1.342 GB, free: 0.8594 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.4258, allocations: 198.7 kB / 1.342 GB, free: 0.6641 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002395/0.4282, allocations: 0.6337 MB / 1.343 GB, free: 28 kB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.4296, allocations: 392.2 kB / 1.343 GB, free: 15.65 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002136/0.4317, allocations: 1.12 MB / 1.344 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006419/0.4324, allocations: 253 kB / 1.345 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.4341, allocations: 456 kB / 1.345 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007532/0.4348, allocations: 306.6 kB / 1.345 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.435, allocations: 32 kB / 1.345 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008368/0.4358, allocations: 219.5 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.436, allocations: 99.55 kB / 1.346 GB, free: 13.18 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00039/0.4364, allocations: 171.3 kB / 1.346 GB, free: 13.01 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.4378, allocations: 0.6111 MB / 1.346 GB, free: 12.39 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4378, allocations: 0 / 1.346 GB, free: 12.39 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4378, allocations: 4 kB / 1.346 GB, free: 12.39 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.329e-05/0.4378, allocations: 3.938 kB / 1.346 GB, free: 12.39 MB / 1.045 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.001745/0.4396, allocations: 0.6816 MB / 1.347 GB, free: 11.67 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4396, allocations: 8.031 kB / 1.347 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/0.4399, allocations: 48.66 kB / 1.347 GB, free: 11.61 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.4409, allocations: 404.7 kB / 1.347 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.441, allocations: 24.86 kB / 1.348 GB, free: 11.17 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.441, allocations: 27.94 kB / 1.348 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007662/0.4418, allocations: 420 kB / 1.348 GB, free: 10.69 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.4418, allocations: 3.953 kB / 1.348 GB, free: 10.68 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.4418, allocations: 12 kB / 1.348 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.038e-05/0.4419, allocations: 11.98 kB / 1.348 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005206/0.4424, allocations: 197.8 kB / 1.348 GB, free: 10.47 MB / 1.045 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.001975/0.4444, allocations: 1.081 MB / 1.349 GB, free: 9.332 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004839/0.4449, allocations: 150.6 kB / 1.349 GB, free: 9.176 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.445, allocations: 60.81 kB / 1.349 GB, free: 9.113 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.4452, allocations: 8 kB / 1.349 GB, free: 9.105 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004078/0.4456, allocations: 236.5 kB / 1.35 GB, free: 8.84 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 2.555e-06/0.4456, allocations: 4 kB / 1.35 GB, free: 8.836 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0007036/0.4463, allocations: 229.3 kB / 1.35 GB, free: 8.605 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.4463, allocations: 63.33 kB / 1.35 GB, free: 8.531 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/0.4467, allocations: 324.5 kB / 1.35 GB, free: 8.207 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001384/0.4469, allocations: 37.69 kB / 1.35 GB, free: 8.164 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.4471, allocations: 220.4 kB / 1.35 GB, free: 7.945 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.396e-05/0.4472, allocations: 59.53 kB / 1.351 GB, free: 7.887 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.4473, allocations: 53.66 kB / 1.351 GB, free: 7.828 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002167/0.4475, allocations: 342.8 kB / 1.351 GB, free: 7.484 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.4477, allocations: 93.66 kB / 1.351 GB, free: 7.387 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.448, allocations: 171.1 kB / 1.351 GB, free: 7.18 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004908/0.4485, allocations: 257 kB / 1.351 GB, free: 6.891 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4485, allocations: 0 / 1.351 GB, free: 6.891 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007238/0.4493, allocations: 338 kB / 1.352 GB, free: 6.543 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.4493, allocations: 33.7 kB / 1.352 GB, free: 6.504 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4493, allocations: 3.938 kB / 1.352 GB, free: 6.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.4493, allocations: 11.92 kB / 1.352 GB, free: 6.488 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.4496, allocations: 55.97 kB / 1.352 GB, free: 6.434 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.4496, allocations: 12.19 kB / 1.352 GB, free: 6.422 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.4498, allocations: 35.83 kB / 1.352 GB, free: 6.387 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.4499, allocations: 8 kB / 1.352 GB, free: 6.379 MB / 1.045 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.0002091/0.4501, allocations: 161.7 kB / 1.352 GB, free: 6.211 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.4502, allocations: 31.81 kB / 1.352 GB, free: 6.18 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004974/0.4507, allocations: 190.9 kB / 1.352 GB, free: 5.988 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.4507, allocations: 0 / 1.352 GB, free: 5.988 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4507, allocations: 3.938 kB / 1.352 GB, free: 5.984 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000576/0.4512, allocations: 495.6 kB / 1.353 GB, free: 5.414 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.4517, allocations: 253.1 kB / 1.353 GB, free: 5.137 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4517, allocations: 7.922 kB / 1.353 GB, free: 5.129 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.4518, allocations: 27.98 kB / 1.353 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4518, allocations: 0 / 1.353 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.4519, allocations: 4 kB / 1.353 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.4519, allocations: 4 kB / 1.353 GB, free: 5.094 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4519, allocations: 0 / 1.353 GB, free: 5.094 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006625/0.4525, allocations: 292.5 kB / 1.353 GB, free: 4.789 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.4527, allocations: 52.02 kB / 1.353 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.4527, allocations: 0 / 1.353 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.4529, allocations: 19.97 kB / 1.353 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.356e-05/0.453, allocations: 11.98 kB / 1.353 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.4531, allocations: 15.92 kB / 1.353 GB, free: 4.691 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002671/0.4533, allocations: 231 kB / 1.354 GB, free: 4.469 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4533, allocations: 0 / 1.354 GB, free: 4.469 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000538/0.4539, allocations: 131.7 kB / 1.354 GB, free: 4.34 MB / 1.045 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.0004429/0.4543, allocations: 195 kB / 1.354 GB, free: 4.141 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005739/0.4549, allocations: 255.7 kB / 1.354 GB, free: 3.875 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4549, allocations: 0 / 1.354 GB, free: 3.875 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.4551, allocations: 59.95 kB / 1.354 GB, free: 3.816 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009841/0.4561, allocations: 208.6 kB / 1.354 GB, free: 3.621 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.4577, allocations: 0.7464 MB / 1.355 GB, free: 2.848 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.4579, allocations: 184.9 kB / 1.355 GB, free: 2.645 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002837/0.4582, allocations: 59.25 kB / 1.355 GB, free: 2.59 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.02e-05/0.4583, allocations: 35.42 kB / 1.355 GB, free: 2.555 MB / 1.045 GB Notification: Performance of SimCode: time 3.71e-07/0.4583, allocations: 0 / 1.355 GB, free: 2.555 MB / 1.045 GB Notification: Performance of Templates: time 0.01561/0.4739, allocations: 7.688 MB / 1.363 GB, free: 11.02 MB / 1.061 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: 9.709362652152777]