Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001506/0.001506, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001694/0.001694, allocations: 220 kB / 23.04 MB, free: 4.844 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.478/1.478, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.248/3.248, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00203/0.00203, allocations: 73.23 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3955, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05167/0.4471, allocations: 45.5 MB / 1.372 GB, free: 3.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02271/0.4699, allocations: 12.96 MB / 1.384 GB, free: 6.332 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003367/0.4732, allocations: 91.25 kB / 1.384 GB, free: 6.242 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002758/0.476, allocations: 0.8032 MB / 1.385 GB, free: 5.434 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007793/0.4838, allocations: 2.394 MB / 1.387 GB, free: 3.027 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003909/0.4877, allocations: 1.351 MB / 1.389 GB, free: 1.688 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0236/0.5113, allocations: 20.36 MB / 1.409 GB, free: 13.27 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01257/0.5238, allocations: 6.459 MB / 1.415 GB, free: 6.688 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01607/0.5399, allocations: 6.928 MB / 1.422 GB, free: 15.78 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01351/0.5534, allocations: 6.281 MB / 1.428 GB, free: 9.473 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.00324/0.5567, allocations: 0.8438 MB / 1.429 GB, free: 8.629 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007332/0.564, allocations: 1.483 MB / 1.43 GB, free: 7.145 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.004617/0.5686, allocations: 2.204 MB / 1.432 GB, free: 4.934 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.01029/0.5789, allocations: 3.521 MB / 1.436 GB, free: 1.398 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0205/0.5994, allocations: 12.22 MB / 1.448 GB, free: 5.137 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.5994, allocations: 4 kB / 1.448 GB, free: 5.133 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5994, allocations: 0 / 1.448 GB, free: 5.133 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0004941/0.5999, allocations: 0 / 1.448 GB, free: 5.133 MB / 1.139 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.02326/0.6232, allocations: 7.853 MB / 1.455 GB, free: 13.21 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/0.6232, allocations: 12.03 kB / 1.455 GB, free: 13.2 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005258/0.6285, allocations: 0.8789 MB / 1.456 GB, free: 12.32 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01577/0.6443, allocations: 6.394 MB / 1.462 GB, free: 5.844 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005359/0.6448, allocations: 423.4 kB / 1.463 GB, free: 5.43 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002393/0.6472, allocations: 0.5429 MB / 1.463 GB, free: 4.887 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02406/0.6713, allocations: 9.143 MB / 1.472 GB, free: 11.24 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003002/0.6716, allocations: 19.83 kB / 1.472 GB, free: 11.22 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002056/0.6736, allocations: 236 kB / 1.473 GB, free: 10.99 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002467/0.6739, allocations: 163.9 kB / 1.473 GB, free: 10.83 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/0.6914, allocations: 6.516 MB / 1.479 GB, free: 4.305 MB / 1.17 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.05125/0.7427, allocations: 22.48 MB / 1.501 GB, free: 13.44 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007285/0.7499, allocations: 3.422 MB / 1.504 GB, free: 10.02 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005119/0.7551, allocations: 2.571 MB / 1.507 GB, free: 7.445 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007908/0.7559, allocations: 157.9 kB / 1.507 GB, free: 7.289 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.756, allocations: 68.61 kB / 1.507 GB, free: 7.211 MB / 1.201 GB Notification: Performance of pre-optimization done (n=267): time 7.394e-06/0.756, allocations: 0 / 1.507 GB, free: 7.211 MB / 1.201 GB Notification: Performance of matching and sorting (n=267): time 0.01361/0.7696, allocations: 5.564 MB / 1.513 GB, free: 1.586 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.7697, allocations: 81.5 kB / 1.513 GB, free: 1.492 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009434/0.7791, allocations: 4.547 MB / 1.517 GB, free: 12.92 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0007688/0.7799, allocations: 81.7 kB / 1.517 GB, free: 12.84 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.003009/0.7829, allocations: 2.926 MB / 1.52 GB, free: 9.887 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001731/0.7847, allocations: 0.9839 MB / 1.521 GB, free: 8.895 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/0.7859, allocations: 0.7196 MB / 1.522 GB, free: 8.168 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.786, allocations: 305.1 kB / 1.522 GB, free: 7.867 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002818/0.7888, allocations: 1.674 MB / 1.524 GB, free: 6.191 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004006/0.7928, allocations: 3.04 MB / 1.527 GB, free: 2.574 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007651/0.8005, allocations: 4.966 MB / 1.531 GB, free: 13.01 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-05/0.8005, allocations: 12 kB / 1.531 GB, free: 13 MB / 1.232 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01049/0.811, allocations: 5.382 MB / 1.537 GB, free: 7.566 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.621e-05/0.811, allocations: 24.03 kB / 1.537 GB, free: 7.543 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.86e-05/0.8111, allocations: 40 kB / 1.537 GB, free: 7.504 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.8121, allocations: 423.5 kB / 1.537 GB, free: 7.086 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003291/0.8154, allocations: 0.858 MB / 1.538 GB, free: 6.227 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006726/0.8221, allocations: 5.362 MB / 1.543 GB, free: 0.668 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00592/0.8281, allocations: 477.1 kB / 1.544 GB, free: 204 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008086/0.8289, allocations: 180 kB / 1.544 GB, free: 24 kB / 1.232 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.005858/0.8347, allocations: 2.284 MB / 1.546 GB, free: 13.73 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001729/0.8364, allocations: 449.1 kB / 1.546 GB, free: 13.29 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007722/0.8442, allocations: 4.115 MB / 1.55 GB, free: 9.113 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.412e-05/0.8442, allocations: 28 kB / 1.551 GB, free: 9.086 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.8442, allocations: 4 kB / 1.551 GB, free: 9.082 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005798/0.85, allocations: 3.628 MB / 1.554 GB, free: 5.34 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01968/0.8697, allocations: 8.885 MB / 1.563 GB, free: 12.3 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/0.8697, allocations: 4 kB / 1.563 GB, free: 12.3 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002282/0.872, allocations: 0.4998 MB / 1.563 GB, free: 11.8 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009341/0.8729, allocations: 371.7 kB / 1.564 GB, free: 11.43 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002553/0.8732, allocations: 83.95 kB / 1.564 GB, free: 11.35 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006514/0.8797, allocations: 5.31 MB / 1.569 GB, free: 5.844 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.8797, allocations: 4 kB / 1.569 GB, free: 5.84 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/0.8913, allocations: 6.187 MB / 1.575 GB, free: 15.48 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003425/0.8948, allocations: 0.9866 MB / 1.576 GB, free: 14.49 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001213/0.896, allocations: 63.98 kB / 1.576 GB, free: 14.43 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003207/0.8992, allocations: 159.9 kB / 1.576 GB, free: 14.27 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004866/0.8997, allocations: 185.5 kB / 1.576 GB, free: 14.09 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003594/0.9, allocations: 131.9 kB / 1.576 GB, free: 13.96 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.006041/0.9061, allocations: 3.112 MB / 1.579 GB, free: 10.84 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9061, allocations: 4 kB / 1.579 GB, free: 10.84 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.007202/0.9133, allocations: 1.898 MB / 1.581 GB, free: 8.938 MB / 1.279 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.001512/0.9148, allocations: 477.6 kB / 1.582 GB, free: 8.461 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.008194/0.923, allocations: 4.137 MB / 1.586 GB, free: 4.285 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/0.923, allocations: 0 / 1.586 GB, free: 4.285 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003588/0.9266, allocations: 1.926 MB / 1.588 GB, free: 2.328 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01349/0.9401, allocations: 2.619 MB / 1.59 GB, free: 15.79 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02547/0.9656, allocations: 12.59 MB / 1.602 GB, free: 3.09 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.7405/1.706, allocations: 3.731 MB / 1.606 GB, free: 253.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002151/1.708, allocations: 405.1 kB / 1.607 GB, free: 253.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.243e-06/1.708, allocations: 0 / 1.607 GB, free: 253.5 MB / 1.295 GB Notification: Performance of Templates: time 0.2042/1.912, allocations: 166.1 MB / 1.769 GB, free: 121.3 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.145330196013674]