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.001318/0.001318, 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.001448/0.001448, allocations: 216 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.776/2.776, allocations: 476 MB / 0.7707 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 177] 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.002157/0.002157, allocations: 67.62 kB / 1.118 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3485, allocations: 170 MB / 1.284 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05197/0.4004, allocations: 45.41 MB / 1.328 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02097/0.4214, allocations: 12.95 MB / 1.341 GB, free: 1.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002611/0.424, allocations: 87.31 kB / 1.341 GB, free: 1.254 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.4265, allocations: 0.8109 MB / 1.342 GB, free: 448 kB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007838/0.4343, allocations: 2.395 MB / 1.344 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005654/0.44, allocations: 1.352 MB / 1.345 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02416/0.4641, allocations: 20.3 MB / 1.365 GB, free: 8.332 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01085/0.475, allocations: 6.466 MB / 1.371 GB, free: 1.742 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01527/0.4903, allocations: 6.717 MB / 1.378 GB, free: 11.05 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0124/0.5027, allocations: 6.351 MB / 1.384 GB, free: 4.672 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.003003/0.5057, allocations: 0.8438 MB / 1.385 GB, free: 3.828 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006785/0.5124, allocations: 1.475 MB / 1.386 GB, free: 2.352 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004492/0.5169, allocations: 2.208 MB / 1.389 GB, free: 140 kB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.008761/0.5257, allocations: 3.514 MB / 1.392 GB, free: 12.61 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02204/0.5477, allocations: 12.18 MB / 1.404 GB, free: 396 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 1.227e-05/0.5478, allocations: 4 kB / 1.404 GB, free: 392 kB / 1.092 GB Notification: Performance of FrontEnd: time 2.305e-06/0.5478, allocations: 0 / 1.404 GB, free: 392 kB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0004806/0.5482, allocations: 0 / 1.404 GB, free: 392 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.0223/0.5705, allocations: 7.861 MB / 1.412 GB, free: 8.453 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.5706, allocations: 8.031 kB / 1.412 GB, free: 8.445 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004636/0.5752, allocations: 0.8828 MB / 1.413 GB, free: 7.559 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01511/0.5903, allocations: 6.367 MB / 1.419 GB, free: 1.109 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004611/0.5908, allocations: 415.4 kB / 1.419 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002166/0.593, allocations: 0.5467 MB / 1.42 GB, free: 160 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01983/0.6128, allocations: 9.131 MB / 1.429 GB, free: 6.531 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000146/0.6129, allocations: 15.88 kB / 1.429 GB, free: 6.516 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007517/0.6137, allocations: 236 kB / 1.429 GB, free: 6.285 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001877/0.6139, allocations: 167.9 kB / 1.429 GB, free: 6.121 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0145/0.6284, allocations: 6.512 MB / 1.435 GB, free: 15.6 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.04751/0.6759, allocations: 22.46 MB / 1.457 GB, free: 8.754 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005941/0.6818, allocations: 3.418 MB / 1.461 GB, free: 5.328 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004161/0.686, allocations: 2.583 MB / 1.463 GB, free: 2.734 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006582/0.6866, allocations: 146 kB / 1.463 GB, free: 2.59 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.761e-05/0.6867, allocations: 76.59 kB / 1.463 GB, free: 2.504 MB / 1.154 GB Notification: Performance of pre-optimization done (n=267): time 4.899e-06/0.6867, allocations: 0 / 1.463 GB, free: 2.504 MB / 1.154 GB Notification: Performance of matching and sorting (n=267): time 0.01155/0.6983, allocations: 5.56 MB / 1.469 GB, free: 12.88 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/0.6984, allocations: 81.52 kB / 1.469 GB, free: 12.79 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008383/0.7068, allocations: 4.547 MB / 1.473 GB, free: 8.219 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0007985/0.7076, allocations: 81.7 kB / 1.473 GB, free: 8.133 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.002807/0.7104, allocations: 2.926 MB / 1.476 GB, free: 5.184 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001633/0.712, allocations: 0.98 MB / 1.477 GB, free: 4.195 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/0.7131, allocations: 0.7273 MB / 1.478 GB, free: 3.461 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.7132, allocations: 309.1 kB / 1.478 GB, free: 3.156 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002786/0.716, allocations: 1.674 MB / 1.48 GB, free: 1.48 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003866/0.7199, allocations: 3.036 MB / 1.483 GB, free: 13.87 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006964/0.7268, allocations: 4.966 MB / 1.488 GB, free: 8.312 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.773e-05/0.7269, allocations: 8 kB / 1.488 GB, free: 8.305 MB / 1.186 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009716/0.7366, allocations: 5.39 MB / 1.493 GB, free: 2.863 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.7366, allocations: 24 kB / 1.493 GB, free: 2.84 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-05/0.7367, allocations: 40 kB / 1.493 GB, free: 2.801 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009943/0.7377, allocations: 419.4 kB / 1.493 GB, free: 2.387 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002968/0.7407, allocations: 0.858 MB / 1.494 GB, free: 1.527 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006264/0.7469, allocations: 5.364 MB / 1.499 GB, free: 11.97 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004379/0.7513, allocations: 472.9 kB / 1.5 GB, free: 11.5 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004384/0.7517, allocations: 180 kB / 1.5 GB, free: 11.33 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.004558/0.7563, allocations: 2.285 MB / 1.502 GB, free: 9.031 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/0.7578, allocations: 457.1 kB / 1.503 GB, free: 8.582 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00724/0.765, allocations: 4.106 MB / 1.507 GB, free: 4.418 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.161e-05/0.765, allocations: 32 kB / 1.507 GB, free: 4.387 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.765, allocations: 4 kB / 1.507 GB, free: 4.383 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005409/0.7705, allocations: 3.624 MB / 1.51 GB, free: 0.6445 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01802/0.7885, allocations: 8.885 MB / 1.519 GB, free: 7.605 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.7885, allocations: 4.562 kB / 1.519 GB, free: 7.602 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002097/0.7906, allocations: 0.4993 MB / 1.519 GB, free: 7.102 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008711/0.7915, allocations: 377.3 kB / 1.52 GB, free: 6.727 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001888/0.7916, allocations: 71.97 kB / 1.52 GB, free: 6.656 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006057/0.7977, allocations: 5.31 MB / 1.525 GB, free: 1.145 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.7977, allocations: 4 kB / 1.525 GB, free: 1.141 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/0.8081, allocations: 6.187 MB / 1.531 GB, free: 10.78 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003577/0.8117, allocations: 0.9866 MB / 1.532 GB, free: 9.789 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/0.8127, allocations: 63.98 kB / 1.532 GB, free: 9.727 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002491/0.8152, allocations: 163.7 kB / 1.532 GB, free: 9.566 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003503/0.8155, allocations: 189.5 kB / 1.533 GB, free: 9.379 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002474/0.8158, allocations: 131.9 kB / 1.533 GB, free: 9.25 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.005083/0.8209, allocations: 3.116 MB / 1.536 GB, free: 6.129 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8209, allocations: 3.938 kB / 1.536 GB, free: 6.125 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.005836/0.8267, allocations: 1.89 MB / 1.538 GB, free: 4.23 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.001074/0.8278, allocations: 465.3 kB / 1.538 GB, free: 3.766 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.006957/0.8347, allocations: 4.136 MB / 1.542 GB, free: 15.59 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/0.8347, allocations: 4 kB / 1.542 GB, free: 15.59 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002983/0.8377, allocations: 1.927 MB / 1.544 GB, free: 13.63 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01154/0.8493, allocations: 2.6 MB / 1.546 GB, free: 11.11 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02584/0.8751, allocations: 12.6 MB / 1.559 GB, free: 14.41 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005739/0.8809, allocations: 3.733 MB / 1.562 GB, free: 10.65 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002323/0.8832, allocations: 407.2 kB / 1.563 GB, free: 10.25 MB / 1.264 GB Notification: Performance of SimCode: time 1.814e-06/0.8832, allocations: 0 / 1.563 GB, free: 10.25 MB / 1.264 GB Notification: Performance of Templates: time 1.04/1.923, allocations: 166.1 MB / 1.725 GB, free: 193.2 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/jenkins1/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: 26.65627122623846]