Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.002013/0.002013, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001615/0.001615, allocations: 211.3 kB / 22.24 MB, free: 4.859 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.82 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.877/2.877, allocations: 475.9 MB / 0.7699 GB, free: 4.789 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.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [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.002181/0.002181, allocations: 66.02 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4452, allocations: 170 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05638/0.5016, allocations: 45.4 MB / 1.327 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02289/0.5245, allocations: 12.95 MB / 1.34 GB, free: 1.434 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00387/0.5284, allocations: 95.25 kB / 1.34 GB, free: 1.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003589/0.532, allocations: 0.8032 MB / 1.341 GB, free: 0.5312 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009846/0.5418, allocations: 2.395 MB / 1.343 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004914/0.5467, allocations: 1.352 MB / 1.345 GB, free: 12.78 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02535/0.5721, allocations: 20.3 MB / 1.364 GB, free: 8.426 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01246/0.5846, allocations: 6.466 MB / 1.371 GB, free: 1.836 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01774/0.6023, allocations: 6.725 MB / 1.377 GB, free: 11.13 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01555/0.6179, allocations: 6.344 MB / 1.383 GB, free: 4.766 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.005589/0.6234, allocations: 0.8438 MB / 1.384 GB, free: 3.922 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01022/0.6337, allocations: 1.479 MB / 1.386 GB, free: 2.441 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.006318/0.64, allocations: 2.208 MB / 1.388 GB, free: 232 kB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0127/0.6527, allocations: 3.506 MB / 1.391 GB, free: 12.71 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02322/0.6759, allocations: 12.18 MB / 1.403 GB, free: 496 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.6759, allocations: 0 / 1.403 GB, free: 496 kB / 1.092 GB Notification: Performance of FrontEnd: time 2.875e-06/0.6759, allocations: 0 / 1.403 GB, free: 496 kB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0005822/0.6765, allocations: 0 / 1.403 GB, free: 496 kB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.02769/0.7042, allocations: 7.861 MB / 1.411 GB, free: 8.555 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.7042, allocations: 8.031 kB / 1.411 GB, free: 8.547 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005827/0.7101, allocations: 0.879 MB / 1.412 GB, free: 7.664 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01997/0.73, allocations: 6.376 MB / 1.418 GB, free: 1.203 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006324/0.7307, allocations: 415.4 kB / 1.418 GB, free: 0.7969 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00311/0.7338, allocations: 0.5468 MB / 1.419 GB, free: 256 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03066/0.7644, allocations: 9.135 MB / 1.428 GB, free: 6.621 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004359/0.7649, allocations: 15.88 kB / 1.428 GB, free: 6.605 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002641/0.7675, allocations: 236 kB / 1.428 GB, free: 6.375 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002612/0.7678, allocations: 164 kB / 1.428 GB, free: 6.215 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01878/0.7865, allocations: 6.512 MB / 1.435 GB, free: 15.69 MB / 1.139 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.06458/0.8511, allocations: 22.46 MB / 1.456 GB, free: 8.855 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00838/0.8595, allocations: 3.426 MB / 1.46 GB, free: 5.422 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005685/0.8652, allocations: 2.583 MB / 1.462 GB, free: 2.828 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008486/0.866, allocations: 149.9 kB / 1.462 GB, free: 2.68 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.8662, allocations: 80.53 kB / 1.463 GB, free: 2.59 MB / 1.154 GB Notification: Performance of pre-optimization done (n=267): time 5.22e-06/0.8662, allocations: 0 / 1.463 GB, free: 2.59 MB / 1.154 GB Notification: Performance of matching and sorting (n=267): time 0.01513/0.8813, allocations: 5.56 MB / 1.468 GB, free: 12.97 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.945e-05/0.8814, allocations: 81.52 kB / 1.468 GB, free: 12.88 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01151/0.8929, allocations: 4.551 MB / 1.473 GB, free: 8.301 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0008421/0.8937, allocations: 81.7 kB / 1.473 GB, free: 8.215 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.003778/0.8975, allocations: 2.926 MB / 1.475 GB, free: 5.266 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.002224/0.8997, allocations: 0.9839 MB / 1.476 GB, free: 4.273 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00232/0.902, allocations: 0.7195 MB / 1.477 GB, free: 3.547 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.9022, allocations: 309.1 kB / 1.477 GB, free: 3.242 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003657/0.9059, allocations: 1.674 MB / 1.479 GB, free: 1.566 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005056/0.9109, allocations: 3.032 MB / 1.482 GB, free: 13.96 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009124/0.9201, allocations: 4.966 MB / 1.487 GB, free: 8.402 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.387e-05/0.9201, allocations: 8 kB / 1.487 GB, free: 8.395 MB / 1.186 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01326/0.9334, allocations: 5.389 MB / 1.492 GB, free: 2.953 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 8.232e-05/0.9335, allocations: 24 kB / 1.492 GB, free: 2.93 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-05/0.9336, allocations: 40 kB / 1.492 GB, free: 2.891 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.9348, allocations: 423.9 kB / 1.493 GB, free: 2.473 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003622/0.9384, allocations: 0.858 MB / 1.493 GB, free: 1.613 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007543/0.946, allocations: 5.356 MB / 1.499 GB, free: 12.06 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005522/0.9515, allocations: 472.9 kB / 1.499 GB, free: 11.6 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/0.9526, allocations: 180.2 kB / 1.499 GB, free: 11.42 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006587/0.9591, allocations: 2.281 MB / 1.502 GB, free: 9.129 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002496/0.9616, allocations: 465.1 kB / 1.502 GB, free: 8.672 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/0.9724, allocations: 4.117 MB / 1.506 GB, free: 4.5 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.762e-05/0.9724, allocations: 24 kB / 1.506 GB, free: 4.477 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.342e-05/0.9725, allocations: 4 kB / 1.506 GB, free: 4.473 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007134/0.9796, allocations: 3.628 MB / 1.51 GB, free: 0.7305 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02877/1.008, allocations: 8.878 MB / 1.518 GB, free: 7.699 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-05/1.008, allocations: 8.031 kB / 1.518 GB, free: 7.691 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003014/1.011, allocations: 0.4993 MB / 1.519 GB, free: 7.191 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/1.013, allocations: 379.6 kB / 1.519 GB, free: 6.816 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007856/1.014, allocations: 75.97 kB / 1.519 GB, free: 6.742 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00775/1.021, allocations: 5.306 MB / 1.524 GB, free: 1.234 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.07e-05/1.021, allocations: 7.938 kB / 1.524 GB, free: 1.227 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01372/1.035, allocations: 6.187 MB / 1.53 GB, free: 10.87 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004483/1.04, allocations: 0.9866 MB / 1.531 GB, free: 9.875 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001934/1.041, allocations: 59.98 kB / 1.531 GB, free: 9.816 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003997/1.045, allocations: 171.9 kB / 1.532 GB, free: 9.648 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005863/1.046, allocations: 185.5 kB / 1.532 GB, free: 9.465 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005846/1.047, allocations: 127.9 kB / 1.532 GB, free: 9.34 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.008278/1.055, allocations: 3.116 MB / 1.535 GB, free: 6.219 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.41e-07/1.055, allocations: 0 / 1.535 GB, free: 6.219 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.009609/1.065, allocations: 1.89 MB / 1.537 GB, free: 4.324 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001947/1.066, allocations: 472.1 kB / 1.537 GB, free: 3.852 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01009/1.077, allocations: 4.12 MB / 1.541 GB, free: 15.69 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.975e-05/1.077, allocations: 9.875 kB / 1.541 GB, free: 15.68 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004392/1.081, allocations: 1.926 MB / 1.543 GB, free: 13.73 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01621/1.097, allocations: 2.616 MB / 1.546 GB, free: 11.2 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03115/1.128, allocations: 12.54 MB / 1.558 GB, free: 14.57 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008505/1.137, allocations: 3.812 MB / 1.562 GB, free: 10.72 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.007424/1.144, allocations: 1.658 MB / 1.563 GB, free: 9.078 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002042/1.146, allocations: 375.2 kB / 1.564 GB, free: 8.711 MB / 1.264 GB Notification: Performance of SimCode: time 1.783e-06/1.146, allocations: 0 / 1.564 GB, free: 8.711 MB / 1.264 GB Notification: Performance of Templates: time 1.059/2.206, allocations: 103.9 MB / 1.665 GB, free: 258.8 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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: 14.258039711043239]