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.00163/0.00163, allocations: 104 kB / 16.45 MB, free: 6.449 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.001866/0.001866, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.582/1.582, allocations: 230.6 MB / 252.8 MB, free: 9.145 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.242/3.242, allocations: 0.49 GB / 0.7915 GB, free: 33.19 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.002234/0.002234, allocations: 66.98 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4423/0.4446, allocations: 176.1 MB / 1.321 GB, free: 2.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01854/0.4631, allocations: 14.68 MB / 1.336 GB, free: 4.133 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00645/0.4696, allocations: 3.662 MB / 1.339 GB, free: 472 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006957/0.4703, allocations: 23.81 kB / 1.339 GB, free: 448 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007743/0.471, allocations: 210.7 kB / 1.339 GB, free: 236 kB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.4728, allocations: 0.6181 MB / 1.34 GB, free: 15.61 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.4739, allocations: 403 kB / 1.34 GB, free: 15.22 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001604/0.4755, allocations: 1.075 MB / 1.341 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004785/0.476, allocations: 276.5 kB / 1.342 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.4773, allocations: 441.2 kB / 1.342 GB, free: 13.43 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004563/0.4777, allocations: 330.5 kB / 1.342 GB, free: 13.11 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.633e-05/0.4778, allocations: 32 kB / 1.342 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006642/0.4784, allocations: 275.5 kB / 1.343 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.4786, allocations: 103.5 kB / 1.343 GB, free: 12.7 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.4788, allocations: 211 kB / 1.343 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009469/0.4798, allocations: 0.6189 MB / 1.344 GB, free: 11.88 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4798, allocations: 0 / 1.344 GB, free: 11.88 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4798, allocations: 4 kB / 1.344 GB, free: 11.87 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.4798, allocations: 0 / 1.344 GB, free: 11.87 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.001348/0.4811, allocations: 0.7608 MB / 1.344 GB, free: 11.05 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4812, allocations: 11.98 kB / 1.344 GB, free: 11.04 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.4814, allocations: 48.66 kB / 1.344 GB, free: 11 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008121/0.4822, allocations: 472 kB / 1.345 GB, free: 10.5 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.4822, allocations: 20.94 kB / 1.345 GB, free: 10.47 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.062e-05/0.4823, allocations: 39.89 kB / 1.345 GB, free: 10.43 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006277/0.4829, allocations: 306.2 kB / 1.345 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.4829, allocations: 4 kB / 1.345 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.483, allocations: 8 kB / 1.345 GB, free: 10.1 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.483, allocations: 8 kB / 1.345 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005008/0.4835, allocations: 194.1 kB / 1.345 GB, free: 9.906 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.002014/0.4855, allocations: 1.485 MB / 1.347 GB, free: 8.289 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.486, allocations: 150.6 kB / 1.347 GB, free: 8.133 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.4862, allocations: 64.81 kB / 1.347 GB, free: 8.066 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.4863, allocations: 89.11 kB / 1.347 GB, free: 7.961 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003176/0.4866, allocations: 133.9 kB / 1.347 GB, free: 7.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/0.4866, allocations: 0 / 1.347 GB, free: 7.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0006958/0.4873, allocations: 233.3 kB / 1.347 GB, free: 7.586 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.4874, allocations: 59.34 kB / 1.348 GB, free: 7.516 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.4878, allocations: 349.6 kB / 1.348 GB, free: 7.172 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.4878, allocations: 25.7 kB / 1.348 GB, free: 7.141 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.488, allocations: 216.1 kB / 1.348 GB, free: 6.926 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.723e-05/0.4881, allocations: 59.52 kB / 1.348 GB, free: 6.867 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.8e-05/0.4882, allocations: 57.66 kB / 1.348 GB, free: 6.805 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.4884, allocations: 342.8 kB / 1.349 GB, free: 6.461 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.4886, allocations: 75.88 kB / 1.349 GB, free: 6.387 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.4888, allocations: 145.3 kB / 1.349 GB, free: 6.211 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/0.4893, allocations: 244.5 kB / 1.349 GB, free: 5.934 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4893, allocations: 0 / 1.349 GB, free: 5.934 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006537/0.4899, allocations: 316.6 kB / 1.349 GB, free: 5.613 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.49, allocations: 33.7 kB / 1.349 GB, free: 5.574 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.49, allocations: 4 kB / 1.349 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.49, allocations: 7.984 kB / 1.349 GB, free: 5.562 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.4903, allocations: 55.84 kB / 1.349 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.4903, allocations: 7.984 kB / 1.349 GB, free: 5.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.4905, allocations: 36.02 kB / 1.349 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.4906, allocations: 16 kB / 1.349 GB, free: 5.449 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.0001872/0.4907, allocations: 163.2 kB / 1.35 GB, free: 5.281 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.4908, allocations: 35.77 kB / 1.35 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005123/0.4913, allocations: 198.8 kB / 1.35 GB, free: 5.043 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.4913, allocations: 7.922 kB / 1.35 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4913, allocations: 0 / 1.35 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005815/0.4919, allocations: 483.8 kB / 1.35 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.4924, allocations: 353.4 kB / 1.351 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.4924, allocations: 4 kB / 1.351 GB, free: 4.078 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.4926, allocations: 27.92 kB / 1.351 GB, free: 4.051 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.4926, allocations: 4 kB / 1.351 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.4926, allocations: 4 kB / 1.351 GB, free: 4.043 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4926, allocations: 3.938 kB / 1.351 GB, free: 4.039 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4926, allocations: 0 / 1.351 GB, free: 4.039 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006828/0.4933, allocations: 292.6 kB / 1.351 GB, free: 3.734 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.4934, allocations: 120.9 kB / 1.351 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.248e-05/0.4935, allocations: 8 kB / 1.351 GB, free: 3.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.4937, allocations: 23.91 kB / 1.351 GB, free: 3.566 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.4938, allocations: 11.98 kB / 1.351 GB, free: 3.555 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.4938, allocations: 15.98 kB / 1.351 GB, free: 3.539 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002836/0.4941, allocations: 247.2 kB / 1.351 GB, free: 3.297 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4941, allocations: 0 / 1.351 GB, free: 3.297 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005158/0.4946, allocations: 131.6 kB / 1.351 GB, free: 3.168 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.0003874/0.495, allocations: 191 kB / 1.352 GB, free: 2.969 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005525/0.4956, allocations: 226.1 kB / 1.352 GB, free: 2.738 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4956, allocations: 4.188 kB / 1.352 GB, free: 2.734 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.4958, allocations: 59.91 kB / 1.352 GB, free: 2.676 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.4968, allocations: 212.9 kB / 1.352 GB, free: 2.477 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.4984, allocations: 0.7459 MB / 1.353 GB, free: 1.707 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.4988, allocations: 0.7956 MB / 1.354 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002405/0.499, allocations: 63.19 kB / 1.354 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.465e-05/0.4991, allocations: 35.42 kB / 1.354 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of SimCode: time 9.31e-07/0.4991, allocations: 0 / 1.354 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of Templates: time 0.01489/0.514, allocations: 7.238 MB / 1.361 GB, free: 9.648 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: 9.536032136995345]