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.001686/0.001686, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.002172/0.002172, allocations: 217.6 kB / 23.01 MB, free: 4.566 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.779/2.779, allocations: 476.7 MB / 0.7714 GB, free: 4.285 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.002081/0.002081, allocations: 65.34 kB / 1.119 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.404, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05706/0.461, allocations: 50.36 MB / 1.334 GB, free: 8.715 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02284/0.4839, allocations: 13.99 MB / 1.347 GB, free: 10.69 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003519/0.4874, allocations: 87.31 kB / 1.348 GB, free: 10.61 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003039/0.4904, allocations: 0.8382 MB / 1.348 GB, free: 9.762 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008495/0.4989, allocations: 2.418 MB / 1.351 GB, free: 7.332 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004549/0.5035, allocations: 1.364 MB / 1.352 GB, free: 5.977 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02495/0.5284, allocations: 20.1 MB / 1.372 GB, free: 1.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01128/0.5397, allocations: 6.455 MB / 1.378 GB, free: 11.24 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01697/0.5567, allocations: 6.68 MB / 1.384 GB, free: 4.586 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01271/0.5694, allocations: 6.043 MB / 1.39 GB, free: 14.52 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003538/0.5729, allocations: 0.8438 MB / 1.391 GB, free: 13.68 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008296/0.5812, allocations: 1.682 MB / 1.393 GB, free: 11.99 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004937/0.5862, allocations: 2.2 MB / 1.395 GB, free: 9.785 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01167/0.5978, allocations: 4.295 MB / 1.399 GB, free: 5.473 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0232/0.621, allocations: 12.15 MB / 1.411 GB, free: 9.281 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.621, allocations: 7.938 kB / 1.411 GB, free: 9.273 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.716e-06/0.621, allocations: 0 / 1.411 GB, free: 9.273 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0004445/0.6215, allocations: 0 / 1.411 GB, free: 9.273 MB / 1.107 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.02362/0.6451, allocations: 7.853 MB / 1.419 GB, free: 1.352 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.6452, allocations: 8.031 kB / 1.419 GB, free: 1.344 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004643/0.6498, allocations: 0.8867 MB / 1.42 GB, free: 464 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01585/0.6657, allocations: 6.36 MB / 1.426 GB, free: 10.01 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004506/0.6661, allocations: 419.4 kB / 1.426 GB, free: 9.598 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002165/0.6683, allocations: 0.5428 MB / 1.427 GB, free: 9.055 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01906/0.6873, allocations: 8.073 MB / 1.435 GB, free: 0.7461 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001508/0.6875, allocations: 23.77 kB / 1.435 GB, free: 0.7227 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007315/0.6882, allocations: 236 kB / 1.435 GB, free: 0.4922 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001949/0.6884, allocations: 171.9 kB / 1.435 GB, free: 332 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01516/0.7036, allocations: 6.524 MB / 1.441 GB, free: 9.789 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.05438/0.758, allocations: 31.15 MB / 1.472 GB, free: 8.789 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006317/0.7643, allocations: 3.444 MB / 1.475 GB, free: 5.34 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004502/0.7688, allocations: 2.578 MB / 1.478 GB, free: 2.754 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007405/0.7695, allocations: 157.9 kB / 1.478 GB, free: 2.598 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.93e-05/0.7696, allocations: 72.67 kB / 1.478 GB, free: 2.516 MB / 1.17 GB Notification: Performance of pre-optimization done (n=267): time 3.957e-06/0.7696, allocations: 4 kB / 1.478 GB, free: 2.512 MB / 1.17 GB Notification: Performance of matching and sorting (n=267): time 0.01235/0.782, allocations: 5.63 MB / 1.483 GB, free: 12.82 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.782, allocations: 77.52 kB / 1.484 GB, free: 12.73 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009424/0.7915, allocations: 5.251 MB / 1.489 GB, free: 7.48 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0007975/0.7923, allocations: 77.7 kB / 1.489 GB, free: 7.398 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.003049/0.7953, allocations: 2.938 MB / 1.492 GB, free: 4.438 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001787/0.7971, allocations: 0.9761 MB / 1.493 GB, free: 3.453 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/0.7983, allocations: 0.7156 MB / 1.493 GB, free: 2.73 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.7984, allocations: 305.1 kB / 1.494 GB, free: 2.43 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002802/0.8012, allocations: 1.674 MB / 1.495 GB, free: 0.7539 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003895/0.8051, allocations: 2.94 MB / 1.498 GB, free: 13.27 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007024/0.8121, allocations: 4.966 MB / 1.503 GB, free: 7.707 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.03e-05/0.8122, allocations: 12 kB / 1.503 GB, free: 7.695 MB / 1.201 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01063/0.8228, allocations: 5.448 MB / 1.508 GB, free: 2.195 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.801e-05/0.8229, allocations: 29.94 kB / 1.508 GB, free: 2.168 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.067e-05/0.8229, allocations: 43.98 kB / 1.508 GB, free: 2.125 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.8239, allocations: 415.1 kB / 1.509 GB, free: 1.715 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003255/0.8272, allocations: 0.8618 MB / 1.51 GB, free: 0.8516 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006587/0.8338, allocations: 5.492 MB / 1.515 GB, free: 11.14 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005121/0.8389, allocations: 0.5275 MB / 1.515 GB, free: 10.61 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007596/0.8397, allocations: 184 kB / 1.516 GB, free: 10.43 MB / 1.217 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.005093/0.8448, allocations: 2.284 MB / 1.518 GB, free: 8.133 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001933/0.8467, allocations: 0.5007 MB / 1.518 GB, free: 7.629 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007873/0.8546, allocations: 4.182 MB / 1.522 GB, free: 3.391 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.24e-05/0.8546, allocations: 28 kB / 1.522 GB, free: 3.363 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.8546, allocations: 4 kB / 1.522 GB, free: 3.359 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005681/0.8603, allocations: 3.624 MB / 1.526 GB, free: 15.62 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02147/0.8818, allocations: 10.29 MB / 1.536 GB, free: 5.156 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/0.8818, allocations: 4 kB / 1.536 GB, free: 5.152 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002294/0.8841, allocations: 0.4998 MB / 1.537 GB, free: 4.652 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009694/0.885, allocations: 373.3 kB / 1.537 GB, free: 4.281 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002518/0.8853, allocations: 75.97 kB / 1.537 GB, free: 4.207 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006884/0.8922, allocations: 5.429 MB / 1.542 GB, free: 14.55 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.8922, allocations: 7.938 kB / 1.542 GB, free: 14.55 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/0.9044, allocations: 6.275 MB / 1.548 GB, free: 8.105 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00499/0.9094, allocations: 1.068 MB / 1.549 GB, free: 7.031 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001803/0.9112, allocations: 71.92 kB / 1.549 GB, free: 6.961 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004259/0.9154, allocations: 175.9 kB / 1.55 GB, free: 6.789 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005081/0.9159, allocations: 181.5 kB / 1.55 GB, free: 6.609 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004402/0.9164, allocations: 123.9 kB / 1.55 GB, free: 6.488 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.008224/0.9246, allocations: 3.851 MB / 1.554 GB, free: 2.652 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9246, allocations: 4 kB / 1.554 GB, free: 2.648 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.007638/0.9322, allocations: 1.813 MB / 1.555 GB, free: 0.832 MB / 1.248 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.001494/0.9337, allocations: 472.9 kB / 1.556 GB, free: 368 kB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.007921/0.9417, allocations: 4.129 MB / 1.56 GB, free: 12.19 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/0.9417, allocations: 7.781 kB / 1.56 GB, free: 12.18 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003417/0.9451, allocations: 1.919 MB / 1.562 GB, free: 10.24 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01719/0.9623, allocations: 3.45 MB / 1.565 GB, free: 6.879 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02668/0.989, allocations: 12.78 MB / 1.578 GB, free: 10 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005105/0.9941, allocations: 4.239 MB / 1.582 GB, free: 5.734 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002016/0.9961, allocations: 447.2 kB / 1.582 GB, free: 5.297 MB / 1.279 GB Notification: Performance of SimCode: time 1.303e-06/0.9961, allocations: 3.938 kB / 1.582 GB, free: 5.293 MB / 1.279 GB Notification: Performance of Templates: time 0.9136/1.91, allocations: 174.7 MB / 1.753 GB, free: 159.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/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: 31.10860576000414]