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.001898/0.001898, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002566/0.002566, allocations: 220.5 kB / 22.26 MB, free: 5.215 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.63/1.63, allocations: 230.6 MB / 256 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 3.052/3.052, allocations: 476.7 MB / 0.7706 GB, free: 4.312 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.002127/0.002127, allocations: 68.12 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.4543, allocations: 170 MB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.06542/0.5198, allocations: 50.36 MB / 1.333 GB, free: 8.695 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02796/0.5477, allocations: 13.98 MB / 1.347 GB, free: 10.68 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003945/0.5517, allocations: 91.25 kB / 1.347 GB, free: 10.59 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003752/0.5554, allocations: 0.8343 MB / 1.348 GB, free: 9.75 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00998/0.5654, allocations: 2.422 MB / 1.35 GB, free: 7.316 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005069/0.5705, allocations: 1.374 MB / 1.351 GB, free: 5.953 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.03323/0.6037, allocations: 20.1 MB / 1.371 GB, free: 1.797 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01275/0.6164, allocations: 6.451 MB / 1.377 GB, free: 11.22 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01802/0.6345, allocations: 6.681 MB / 1.384 GB, free: 4.562 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01364/0.6481, allocations: 6.035 MB / 1.39 GB, free: 14.5 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003407/0.6515, allocations: 0.8438 MB / 1.39 GB, free: 13.66 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007914/0.6594, allocations: 1.682 MB / 1.392 GB, free: 11.98 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004817/0.6643, allocations: 2.208 MB / 1.394 GB, free: 9.762 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01309/0.6773, allocations: 4.283 MB / 1.398 GB, free: 5.461 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02548/0.7028, allocations: 12.16 MB / 1.41 GB, free: 9.266 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.289e-05/0.7028, allocations: 0 / 1.41 GB, free: 9.266 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7029, allocations: 0 / 1.41 GB, free: 9.266 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.000697/0.7035, allocations: 4 kB / 1.41 GB, free: 9.262 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.03344/0.737, allocations: 7.853 MB / 1.418 GB, free: 1.34 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 8.827e-05/0.7371, allocations: 12.03 kB / 1.418 GB, free: 1.328 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007871/0.7449, allocations: 0.8828 MB / 1.419 GB, free: 452 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02142/0.7664, allocations: 6.37 MB / 1.425 GB, free: 9.988 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006649/0.767, allocations: 411.4 kB / 1.425 GB, free: 9.586 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002805/0.7698, allocations: 0.5428 MB / 1.426 GB, free: 9.043 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02695/0.7968, allocations: 8.08 MB / 1.434 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004602/0.7972, allocations: 19.83 kB / 1.434 GB, free: 0.707 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0027/0.7999, allocations: 236 kB / 1.434 GB, free: 488 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003019/0.8002, allocations: 167.9 kB / 1.434 GB, free: 320 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0199/0.8202, allocations: 6.524 MB / 1.441 GB, free: 9.777 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.06527/0.8854, allocations: 31.17 MB / 1.471 GB, free: 8.762 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008021/0.8934, allocations: 3.436 MB / 1.474 GB, free: 5.32 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005547/0.899, allocations: 2.586 MB / 1.477 GB, free: 2.727 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009217/0.8999, allocations: 153.9 kB / 1.477 GB, free: 2.574 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.9, allocations: 76.67 kB / 1.477 GB, free: 2.488 MB / 1.17 GB Notification: Performance of pre-optimization done (n=267): time 9.127e-06/0.9001, allocations: 0 / 1.477 GB, free: 2.488 MB / 1.17 GB Notification: Performance of matching and sorting (n=267): time 0.01627/0.9163, allocations: 5.63 MB / 1.483 GB, free: 12.79 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.366e-05/0.9164, allocations: 77.52 kB / 1.483 GB, free: 12.7 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01389/0.9303, allocations: 5.243 MB / 1.488 GB, free: 7.461 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0009202/0.9312, allocations: 81.7 kB / 1.488 GB, free: 7.375 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.004446/0.9357, allocations: 2.938 MB / 1.491 GB, free: 4.418 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.002203/0.9379, allocations: 0.98 MB / 1.492 GB, free: 3.43 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00274/0.9406, allocations: 0.7156 MB / 1.492 GB, free: 2.707 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.9408, allocations: 305.1 kB / 1.493 GB, free: 2.406 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003968/0.9447, allocations: 1.674 MB / 1.494 GB, free: 0.7305 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0053/0.95, allocations: 2.932 MB / 1.497 GB, free: 13.25 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00933/0.9594, allocations: 4.97 MB / 1.502 GB, free: 7.688 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.436e-05/0.9594, allocations: 12 kB / 1.502 GB, free: 7.676 MB / 1.201 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01486/0.9743, allocations: 5.447 MB / 1.507 GB, free: 2.176 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 8.514e-05/0.9744, allocations: 28.91 kB / 1.507 GB, free: 2.148 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000108/0.9745, allocations: 40 kB / 1.508 GB, free: 2.109 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.9758, allocations: 413.4 kB / 1.508 GB, free: 1.699 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004097/0.9799, allocations: 0.8618 MB / 1.509 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008077/0.988, allocations: 5.496 MB / 1.514 GB, free: 11.12 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006438/0.9944, allocations: 0.5237 MB / 1.515 GB, free: 10.59 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/0.9955, allocations: 180 kB / 1.515 GB, free: 10.42 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.00664/1.002, allocations: 2.288 MB / 1.517 GB, free: 8.117 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002578/1.005, allocations: 0.5047 MB / 1.518 GB, free: 7.609 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/1.016, allocations: 4.177 MB / 1.522 GB, free: 3.375 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-05/1.016, allocations: 24 kB / 1.522 GB, free: 3.352 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.427e-05/1.016, allocations: 4 kB / 1.522 GB, free: 3.348 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00698/1.023, allocations: 3.62 MB / 1.525 GB, free: 15.61 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02795/1.051, allocations: 10.3 MB / 1.535 GB, free: 5.141 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.291e-05/1.051, allocations: 4 kB / 1.535 GB, free: 5.137 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00258/1.053, allocations: 0.4954 MB / 1.536 GB, free: 4.641 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/1.054, allocations: 373.6 kB / 1.536 GB, free: 4.27 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004912/1.055, allocations: 79.97 kB / 1.536 GB, free: 4.191 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007369/1.062, allocations: 5.434 MB / 1.541 GB, free: 14.54 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.194e-05/1.062, allocations: 8 kB / 1.541 GB, free: 14.53 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/1.076, allocations: 6.268 MB / 1.548 GB, free: 8.09 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00466/1.081, allocations: 1.072 MB / 1.549 GB, free: 7.012 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00205/1.083, allocations: 67.92 kB / 1.549 GB, free: 6.945 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004226/1.087, allocations: 171.9 kB / 1.549 GB, free: 6.777 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006364/1.088, allocations: 189.5 kB / 1.549 GB, free: 6.59 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00061/1.088, allocations: 123.9 kB / 1.549 GB, free: 6.469 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.01023/1.099, allocations: 3.843 MB / 1.553 GB, free: 2.641 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.2e-07/1.099, allocations: 0 / 1.553 GB, free: 2.641 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.009219/1.108, allocations: 1.817 MB / 1.555 GB, free: 0.8203 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.001826/1.11, allocations: 479 kB / 1.555 GB, free: 352 kB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01092/1.121, allocations: 4.126 MB / 1.559 GB, free: 12.18 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.882e-05/1.121, allocations: 8.156 kB / 1.559 GB, free: 12.17 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004392/1.125, allocations: 1.925 MB / 1.561 GB, free: 10.21 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01862/1.144, allocations: 3.453 MB / 1.564 GB, free: 6.859 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03014/1.174, allocations: 12.74 MB / 1.577 GB, free: 10.03 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007253/1.181, allocations: 4.303 MB / 1.581 GB, free: 5.695 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00659/1.188, allocations: 1.857 MB / 1.583 GB, free: 3.852 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001775/1.189, allocations: 419.3 kB / 1.583 GB, free: 3.441 MB / 1.279 GB Notification: Performance of SimCode: time 1.322e-06/1.189, allocations: 0 / 1.583 GB, free: 3.441 MB / 1.279 GB Notification: Performance of Templates: time 1.062/2.251, allocations: 116.7 MB / 1.697 GB, free: 222.7 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.797644019126892]