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.001373/0.001373, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001496/0.001496, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.12/3.12, allocations: 0.4892 GB / 0.7951 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 177] 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.002058/0.002058, allocations: 75.5 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3643, allocations: 176.1 MB / 1.326 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.02002/0.3843, allocations: 13.52 MB / 1.339 GB, free: 4.27 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006399/0.3907, allocations: 3.4 MB / 1.343 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007184/0.3915, allocations: 27.75 kB / 1.343 GB, free: 0.8359 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008906/0.3923, allocations: 206.7 kB / 1.343 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002079/0.3944, allocations: 0.6181 MB / 1.344 GB, free: 12 kB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.3957, allocations: 406 kB / 1.344 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001864/0.3975, allocations: 1.106 MB / 1.345 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005744/0.3981, allocations: 261 kB / 1.345 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.3996, allocations: 450.8 kB / 1.346 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006801/0.4003, allocations: 306.6 kB / 1.346 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.4004, allocations: 32 kB / 1.346 GB, free: 13.47 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007142/0.4012, allocations: 219.5 kB / 1.346 GB, free: 13.25 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.4014, allocations: 99.59 kB / 1.346 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003378/0.4017, allocations: 179.2 kB / 1.347 GB, free: 12.98 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.4029, allocations: 0.6072 MB / 1.347 GB, free: 12.37 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4029, allocations: 0 / 1.347 GB, free: 12.37 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4029, allocations: 0 / 1.347 GB, free: 12.37 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.4029, allocations: 0 / 1.347 GB, free: 12.37 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.001449/0.4044, allocations: 0.6864 MB / 1.348 GB, free: 11.65 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.4044, allocations: 8.031 kB / 1.348 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.4047, allocations: 56.64 kB / 1.348 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009519/0.4056, allocations: 400.8 kB / 1.348 GB, free: 11.17 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/0.4057, allocations: 24.86 kB / 1.348 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.035e-05/0.4057, allocations: 27.94 kB / 1.348 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/0.4065, allocations: 408.1 kB / 1.349 GB, free: 10.68 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.4065, allocations: 15.89 kB / 1.349 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.4065, allocations: 8 kB / 1.349 GB, free: 10.65 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.4066, allocations: 8 kB / 1.349 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005018/0.4071, allocations: 189.8 kB / 1.349 GB, free: 10.46 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.002007/0.4091, allocations: 1.092 MB / 1.35 GB, free: 9.312 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.4095, allocations: 146.6 kB / 1.35 GB, free: 9.16 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.4097, allocations: 60.81 kB / 1.35 GB, free: 9.098 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.4098, allocations: 8 kB / 1.35 GB, free: 9.09 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003877/0.4102, allocations: 238 kB / 1.35 GB, free: 8.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 2.856e-06/0.4102, allocations: 4 kB / 1.35 GB, free: 8.816 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0007073/0.4109, allocations: 222.9 kB / 1.351 GB, free: 8.594 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.411, allocations: 63.28 kB / 1.351 GB, free: 8.52 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000433/0.4114, allocations: 336.4 kB / 1.351 GB, free: 8.184 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.4115, allocations: 25.7 kB / 1.351 GB, free: 8.152 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.4117, allocations: 220.3 kB / 1.351 GB, free: 7.934 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/0.4117, allocations: 55.53 kB / 1.351 GB, free: 7.879 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.702e-05/0.4118, allocations: 57.66 kB / 1.351 GB, free: 7.816 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.412, allocations: 346.8 kB / 1.352 GB, free: 7.469 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.4123, allocations: 93.66 kB / 1.352 GB, free: 7.371 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.4126, allocations: 183 kB / 1.352 GB, free: 7.152 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004833/0.413, allocations: 248.6 kB / 1.352 GB, free: 6.871 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.413, allocations: 4 kB / 1.352 GB, free: 6.867 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007096/0.4138, allocations: 342.2 kB / 1.353 GB, free: 6.516 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.704e-05/0.4138, allocations: 33.7 kB / 1.353 GB, free: 6.477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4138, allocations: 4 kB / 1.353 GB, free: 6.473 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.4138, allocations: 0 / 1.353 GB, free: 6.473 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.4141, allocations: 55.91 kB / 1.353 GB, free: 6.418 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.4141, allocations: 11.88 kB / 1.353 GB, free: 6.406 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.4143, allocations: 31.83 kB / 1.353 GB, free: 6.375 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.4144, allocations: 16.17 kB / 1.353 GB, free: 6.359 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.0002095/0.4146, allocations: 165.7 kB / 1.353 GB, free: 6.188 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.4146, allocations: 27.81 kB / 1.353 GB, free: 6.16 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005277/0.4152, allocations: 196.4 kB / 1.353 GB, free: 5.961 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4152, allocations: 0 / 1.353 GB, free: 5.961 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4152, allocations: 3.938 kB / 1.353 GB, free: 5.957 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005706/0.4158, allocations: 494.7 kB / 1.354 GB, free: 5.391 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.4162, allocations: 249.1 kB / 1.354 GB, free: 5.117 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4162, allocations: 0 / 1.354 GB, free: 5.117 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.4163, allocations: 27.98 kB / 1.354 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.4163, allocations: 3.984 kB / 1.354 GB, free: 5.086 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.4164, allocations: 8 kB / 1.354 GB, free: 5.078 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4164, allocations: 0 / 1.354 GB, free: 5.078 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4164, allocations: 0 / 1.354 GB, free: 5.078 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006624/0.417, allocations: 292.6 kB / 1.354 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.4172, allocations: 44.03 kB / 1.354 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.4172, allocations: 7.984 kB / 1.354 GB, free: 4.723 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.4174, allocations: 15.98 kB / 1.354 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/0.4175, allocations: 15.97 kB / 1.354 GB, free: 4.691 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.4175, allocations: 11.94 kB / 1.354 GB, free: 4.68 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002696/0.4178, allocations: 235 kB / 1.354 GB, free: 4.453 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4178, allocations: 0 / 1.354 GB, free: 4.453 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004922/0.4183, allocations: 127.7 kB / 1.355 GB, free: 4.328 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.0003537/0.4187, allocations: 195 kB / 1.355 GB, free: 4.129 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005789/0.4192, allocations: 252.8 kB / 1.355 GB, free: 3.863 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4192, allocations: 0 / 1.355 GB, free: 3.863 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.4194, allocations: 71.89 kB / 1.355 GB, free: 3.793 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009229/0.4204, allocations: 197.7 kB / 1.355 GB, free: 3.609 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.422, allocations: 0.7604 MB / 1.356 GB, free: 2.812 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.4222, allocations: 192.9 kB / 1.356 GB, free: 2.602 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.779e-05/0.4223, allocations: 31.38 kB / 1.356 GB, free: 2.57 MB / 1.045 GB Notification: Performance of SimCode: time 5.61e-07/0.4223, allocations: 7.938 kB / 1.356 GB, free: 2.562 MB / 1.045 GB Notification: Performance of Templates: time 0.01084/0.4331, allocations: 6.102 MB / 1.362 GB, free: 12.51 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/jenkins1/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: 12.192626657430083]