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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 188.8 kB / 22.1 MB, free: 4.32 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 250.8 MB, free: 2.895 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.093/3.093, allocations: 495.8 MB / 0.7831 GB, free: 12.29 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002115/0.002115, allocations: 55.91 kB / 1.137 GB, free: 12.24 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.141/1.143, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01241/1.156, allocations: 14.58 MB / 1.321 GB, free: 23.43 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.004483/1.16, allocations: 3.655 MB / 1.325 GB, free: 20.85 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005363/1.161, allocations: 24.94 kB / 1.325 GB, free: 20.84 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006154/1.161, allocations: 217.4 kB / 1.325 GB, free: 20.71 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.001311/1.163, allocations: 0.6196 MB / 1.325 GB, free: 20.35 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000835/1.164, allocations: 409.4 kB / 1.326 GB, free: 20.12 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.001094/1.165, allocations: 1.129 MB / 1.327 GB, free: 19.58 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003387/1.165, allocations: 260.5 kB / 1.327 GB, free: 19.45 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001045/1.166, allocations: 447.1 kB / 1.328 GB, free: 19.25 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/1.166, allocations: 333.7 kB / 1.328 GB, free: 19.11 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 5.63e-05/1.166, allocations: 32.31 kB / 1.328 GB, free: 19.11 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000471/1.167, allocations: 212.4 kB / 1.328 GB, free: 19.04 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001041/1.167, allocations: 105.6 kB / 1.328 GB, free: 18.97 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001842/1.167, allocations: 206.9 kB / 1.328 GB, free: 18.85 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007041/1.168, allocations: 0.5832 MB / 1.329 GB, free: 18.63 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.168, allocations: 2.781 kB / 1.329 GB, free: 18.63 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.683e-06/1.168, allocations: 7.875 kB / 1.329 GB, free: 18.62 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 7.614e-06/1.168, allocations: 0 / 1.329 GB, free: 18.62 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.001038/1.169, allocations: 0.6814 MB / 1.33 GB, free: 18.1 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/1.169, allocations: 9.938 kB / 1.33 GB, free: 18.1 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/1.169, allocations: 55.61 kB / 1.33 GB, free: 18.07 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006153/1.17, allocations: 406.4 kB / 1.33 GB, free: 17.8 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/1.17, allocations: 19.94 kB / 1.33 GB, free: 17.79 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.462e-05/1.17, allocations: 30.31 kB / 1.33 GB, free: 17.78 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/1.17, allocations: 313.8 kB / 1.33 GB, free: 17.62 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/1.17, allocations: 0 / 1.33 GB, free: 17.62 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/1.17, allocations: 10.59 kB / 1.33 GB, free: 17.61 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/1.17, allocations: 7.281 kB / 1.33 GB, free: 17.61 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/1.171, allocations: 189.2 kB / 1.331 GB, free: 17.55 MB / 1.061 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.001443/1.172, allocations: 1.429 MB / 1.332 GB, free: 16.42 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/1.173, allocations: 144.8 kB / 1.332 GB, free: 16.36 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/1.173, allocations: 64.67 kB / 1.332 GB, free: 16.33 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/1.173, allocations: 6.844 kB / 1.332 GB, free: 16.33 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003061/1.173, allocations: 128.8 kB / 1.332 GB, free: 16.26 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=15): time 1.473e-06/1.173, allocations: 0 / 1.332 GB, free: 16.26 MB / 1.061 GB
Notification: Performance of matching and sorting (n=15): time 0.0007041/1.174, allocations: 239 kB / 1.333 GB, free: 16.16 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/1.174, allocations: 57.88 kB / 1.333 GB, free: 16.1 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/1.175, allocations: 351.5 kB / 1.333 GB, free: 15.91 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 2.653e-05/1.175, allocations: 32.42 kB / 1.333 GB, free: 15.88 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000129/1.175, allocations: 220.8 kB / 1.333 GB, free: 15.7 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/1.175, allocations: 53.97 kB / 1.333 GB, free: 15.65 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.069e-05/1.175, allocations: 56.89 kB / 1.333 GB, free: 15.62 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 7.596e-05/1.175, allocations: 343.8 kB / 1.334 GB, free: 15.29 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/1.175, allocations: 69.7 kB / 1.334 GB, free: 15.27 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/1.175, allocations: 150 kB / 1.334 GB, free: 15.15 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/1.176, allocations: 253.5 kB / 1.334 GB, free: 14.96 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/1.176, allocations: 0.5625 kB / 1.334 GB, free: 14.96 MB / 1.061 GB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006335/1.176, allocations: 313.2 kB / 1.334 GB, free: 14.81 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/1.176, allocations: 36.3 kB / 1.334 GB, free: 14.77 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.176, allocations: 7.219 kB / 1.334 GB, free: 14.77 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/1.176, allocations: 3.781 kB / 1.334 GB, free: 14.77 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/1.177, allocations: 63.98 kB / 1.335 GB, free: 14.76 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/1.177, allocations: 8.109 kB / 1.335 GB, free: 14.75 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/1.177, allocations: 35.53 kB / 1.335 GB, free: 14.73 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/1.177, allocations: 9.625 kB / 1.335 GB, free: 14.73 MB / 1.061 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.0001484/1.177, allocations: 160.7 kB / 1.335 GB, free: 14.59 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/1.177, allocations: 35.97 kB / 1.335 GB, free: 14.57 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004799/1.178, allocations: 193 kB / 1.335 GB, free: 14.48 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.178, allocations: 6.062 kB / 1.335 GB, free: 14.48 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.178, allocations: 7.922 kB / 1.335 GB, free: 14.47 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004269/1.178, allocations: 491.6 kB / 1.335 GB, free: 14 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/1.179, allocations: 319.7 kB / 1.336 GB, free: 13.78 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.179, allocations: 0 / 1.336 GB, free: 13.78 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/1.179, allocations: 39.16 kB / 1.336 GB, free: 13.77 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/1.179, allocations: 0 / 1.336 GB, free: 13.77 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/1.179, allocations: 1.844 kB / 1.336 GB, free: 13.77 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/1.179, allocations: 8.453 kB / 1.336 GB, free: 13.77 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.179, allocations: 0 / 1.336 GB, free: 13.77 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006306/1.179, allocations: 285.9 kB / 1.336 GB, free: 13.62 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/1.18, allocations: 51.2 kB / 1.336 GB, free: 13.59 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/1.18, allocations: 8.625 kB / 1.336 GB, free: 13.59 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/1.18, allocations: 14.61 kB / 1.336 GB, free: 13.58 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/1.18, allocations: 20.66 kB / 1.336 GB, free: 13.58 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/1.18, allocations: 8.406 kB / 1.336 GB, free: 13.57 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 0.0002383/1.18, allocations: 247.9 kB / 1.336 GB, free: 13.45 MB / 1.061 GB
Notification: Performance of sort global known variables: time 1.11e-07/1.18, allocations: 0 / 1.336 GB, free: 13.45 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0004831/1.181, allocations: 122.5 kB / 1.336 GB, free: 13.42 MB / 1.061 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.0003402/1.181, allocations: 196.7 kB / 1.337 GB, free: 13.29 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0005129/1.182, allocations: 223.8 kB / 1.337 GB, free: 13.18 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.182, allocations: 0 / 1.337 GB, free: 13.18 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001924/1.182, allocations: 68.8 kB / 1.337 GB, free: 13.16 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/1.183, allocations: 220.4 kB / 1.337 GB, free: 13.1 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/1.184, allocations: 0.7446 MB / 1.338 GB, free: 12.61 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/1.184, allocations: 0.7908 MB / 1.339 GB, free: 11.91 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 0.0002731/1.185, allocations: 62.83 kB / 1.339 GB, free: 11.89 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/1.185, allocations: 37.02 kB / 1.339 GB, free: 11.88 MB / 1.061 GB
Notification: Performance of SimCode: time 4.61e-07/1.185, allocations: 3.938 kB / 1.339 GB, free: 11.88 MB / 1.061 GB
Notification: Performance of Templates: time 0.01678/1.202, allocations: 7.35 MB / 1.346 GB, free: 11.21 MB / 1.061 GB
"
[Timeout remaining time 299]
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: 10.098141095601022]