Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001484/0.001484, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001679/0.001679, allocations: 217.7 kB / 22.25 MB, free: 5.121 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.9/2.9, allocations: 476.7 MB / 0.7706 GB, free: 4.332 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002157/0.002157, allocations: 64.25 kB / 1.118 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4021, allocations: 170 MB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01885/0.4209, allocations: 14.79 MB / 1.298 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006366/0.4273, allocations: 3.674 MB / 1.302 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006136/0.4279, allocations: 23.81 kB / 1.302 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008341/0.4287, allocations: 210.7 kB / 1.302 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.4308, allocations: 0.6259 MB / 1.303 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.4321, allocations: 414.9 kB / 1.303 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001751/0.4339, allocations: 1.131 MB / 1.304 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004593/0.4343, allocations: 253.5 kB / 1.304 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.4356, allocations: 412 kB / 1.305 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005318/0.4361, allocations: 330.5 kB / 1.305 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.423e-05/0.4362, allocations: 32 kB / 1.305 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007079/0.4369, allocations: 299.4 kB / 1.305 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.437, allocations: 91.67 kB / 1.306 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.4373, allocations: 214.9 kB / 1.306 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009996/0.4383, allocations: 0.6111 MB / 1.306 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4383, allocations: 0 / 1.306 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4383, allocations: 0 / 1.306 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.4383, allocations: 0 / 1.306 GB, free: 4.133 MB / 0.9981 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.001345/0.4396, allocations: 0.6894 MB / 1.307 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4397, allocations: 8.031 kB / 1.307 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.4399, allocations: 52.59 kB / 1.307 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008037/0.4407, allocations: 404.7 kB / 1.307 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.4407, allocations: 20.88 kB / 1.307 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.8e-05/0.4408, allocations: 27.94 kB / 1.307 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006182/0.4414, allocations: 309.3 kB / 1.308 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.4414, allocations: 7.891 kB / 1.308 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.4414, allocations: 15.98 kB / 1.308 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.4415, allocations: 11.98 kB / 1.308 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.4419, allocations: 197.8 kB / 1.308 GB, free: 2.328 MB / 0.9981 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.002021/0.444, allocations: 1.417 MB / 1.309 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/0.4444, allocations: 150.6 kB / 1.31 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.4446, allocations: 60.77 kB / 1.31 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.4447, allocations: 11.98 kB / 1.31 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003392/0.4451, allocations: 131.6 kB / 1.31 GB, free: 436 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.963e-06/0.4451, allocations: 0 / 1.31 GB, free: 436 kB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.000688/0.4457, allocations: 229.3 kB / 1.31 GB, free: 200 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.4458, allocations: 63.22 kB / 1.31 GB, free: 124 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/0.4462, allocations: 353.6 kB / 1.31 GB, free: 15.77 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.4463, allocations: 29.7 kB / 1.31 GB, free: 15.74 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.4465, allocations: 228 kB / 1.311 GB, free: 15.51 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/0.4465, allocations: 51.59 kB / 1.311 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.455e-05/0.4466, allocations: 61.64 kB / 1.311 GB, free: 15.39 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.4468, allocations: 338.8 kB / 1.311 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.447, allocations: 71.95 kB / 1.311 GB, free: 14.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.4473, allocations: 142.6 kB / 1.311 GB, free: 14.81 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004575/0.4477, allocations: 250.6 kB / 1.311 GB, free: 14.53 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4477, allocations: 11.94 kB / 1.311 GB, free: 14.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006176/0.4483, allocations: 298.9 kB / 1.312 GB, free: 14.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/0.4484, allocations: 41.69 kB / 1.312 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.4484, allocations: 4 kB / 1.312 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4484, allocations: 320 / 1.312 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.4486, allocations: 67.84 kB / 1.312 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.4487, allocations: 7.938 kB / 1.312 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.4489, allocations: 35.77 kB / 1.312 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.4489, allocations: 12 kB / 1.312 GB, free: 14.04 MB / 1.014 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.0002014/0.4492, allocations: 161.8 kB / 1.312 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/0.4492, allocations: 35.77 kB / 1.312 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004984/0.4497, allocations: 192.4 kB / 1.312 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.4497, allocations: 7.938 kB / 1.312 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4497, allocations: 0 / 1.312 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005557/0.4503, allocations: 486.8 kB / 1.313 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.4508, allocations: 324.4 kB / 1.313 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4508, allocations: 3.938 kB / 1.313 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.451, allocations: 35.97 kB / 1.313 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.451, allocations: 0 / 1.313 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.451, allocations: 8 kB / 1.313 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.451, allocations: 3.938 kB / 1.313 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.451, allocations: 0 / 1.313 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006612/0.4517, allocations: 284.7 kB / 1.313 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.4518, allocations: 55.7 kB / 1.313 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.4518, allocations: 4 kB / 1.313 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.4521, allocations: 19.92 kB / 1.313 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.4521, allocations: 15.97 kB / 1.313 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.4522, allocations: 7.984 kB / 1.314 GB, free: 12.27 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002937/0.4525, allocations: 247.2 kB / 1.314 GB, free: 12.03 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.4525, allocations: 0 / 1.314 GB, free: 12.03 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004607/0.4529, allocations: 127.7 kB / 1.314 GB, free: 11.9 MB / 1.014 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.0003417/0.4533, allocations: 195.1 kB / 1.314 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005318/0.4538, allocations: 223.2 kB / 1.314 GB, free: 11.47 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.4538, allocations: 0 / 1.314 GB, free: 11.47 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.454, allocations: 59.91 kB / 1.314 GB, free: 11.41 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.455, allocations: 218.5 kB / 1.315 GB, free: 11.21 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.4566, allocations: 0.7469 MB / 1.315 GB, free: 10.44 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.4571, allocations: 0.7918 MB / 1.316 GB, free: 9.625 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000245/0.4573, allocations: 67.19 kB / 1.316 GB, free: 9.559 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/0.4574, allocations: 35.36 kB / 1.316 GB, free: 9.523 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/0.4574, allocations: 4 kB / 1.316 GB, free: 9.52 MB / 1.014 GB Notification: Performance of Templates: time 0.01502/0.4724, allocations: 7.344 MB / 1.323 GB, free: 2.281 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.686483221128583]