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.001308/0.001308, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.001401/0.001401, allocations: 158.5 kB / 23.01 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.425/1.425, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.639/2.639, allocations: 359.1 MB / 0.6044 GB, free: 14.82 MB / 0.5762 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.002167/0.002167, allocations: 67.89 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3576, allocations: 169.9 MB / 1.117 GB, free: 2.527 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.7392/1.097, allocations: 45.41 MB / 1.162 GB, free: 33.54 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01669/1.113, allocations: 12.94 MB / 1.174 GB, free: 24.7 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0031/1.117, allocations: 94.81 kB / 1.175 GB, free: 24.65 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002671/1.119, allocations: 0.8118 MB / 1.175 GB, free: 24.17 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007155/1.126, allocations: 2.392 MB / 1.178 GB, free: 22.77 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003815/1.13, allocations: 1.35 MB / 1.179 GB, free: 22.04 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.02125/1.151, allocations: 20.31 MB / 1.199 GB, free: 12.25 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01142/1.163, allocations: 6.467 MB / 1.205 GB, free: 9.109 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0175/1.18, allocations: 6.72 MB / 1.212 GB, free: 6.219 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01501/1.195, allocations: 6.347 MB / 1.218 GB, free: 3.445 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.00439/1.2, allocations: 0.8452 MB / 1.219 GB, free: 3.445 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01011/1.21, allocations: 1.483 MB / 1.22 GB, free: 3.207 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.006299/1.216, allocations: 2.201 MB / 1.222 GB, free: 1.852 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01335/1.23, allocations: 3.51 MB / 1.226 GB, free: 28 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02529/1.255, allocations: 12.18 MB / 1.238 GB, free: 11.69 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/1.255, allocations: 0 / 1.238 GB, free: 11.69 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.763e-06/1.255, allocations: 0 / 1.238 GB, free: 11.69 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0005487/1.255, allocations: 0 / 1.238 GB, free: 11.69 MB / 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.03403/1.289, allocations: 7.85 MB / 1.245 GB, free: 7.504 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.289, allocations: 9.562 kB / 1.245 GB, free: 7.504 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007356/1.297, allocations: 0.8842 MB / 1.246 GB, free: 7.098 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02366/1.321, allocations: 6.371 MB / 1.252 GB, free: 4.051 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007061/1.321, allocations: 412.3 kB / 1.253 GB, free: 3.867 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003158/1.324, allocations: 0.555 MB / 1.253 GB, free: 3.668 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03067/1.355, allocations: 9.136 MB / 1.262 GB, free: 14.52 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005012/1.356, allocations: 20.23 kB / 1.262 GB, free: 14.51 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003137/1.359, allocations: 232.9 kB / 1.262 GB, free: 14.34 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003846/1.359, allocations: 165.4 kB / 1.263 GB, free: 14.32 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02211/1.381, allocations: 6.514 MB / 1.269 GB, free: 10.98 MB / 1.107 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.0583/1.439, allocations: 22.46 MB / 1.291 GB, free: 6.055 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008304/1.448, allocations: 3.425 MB / 1.294 GB, free: 2.641 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005658/1.453, allocations: 2.576 MB / 1.297 GB, free: 56 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009718/1.454, allocations: 146 kB / 1.297 GB, free: 15.91 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/1.455, allocations: 72.67 kB / 1.297 GB, free: 15.83 MB / 1.139 GB Notification: Performance of pre-optimization done (n=267): time 8.065e-06/1.455, allocations: 0 / 1.297 GB, free: 15.83 MB / 1.139 GB Notification: Performance of matching and sorting (n=267): time 0.01667/1.471, allocations: 5.572 MB / 1.302 GB, free: 10.2 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/1.471, allocations: 81.5 kB / 1.303 GB, free: 10.1 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01164/1.483, allocations: 4.547 MB / 1.307 GB, free: 5.531 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.001032/1.484, allocations: 81.7 kB / 1.307 GB, free: 5.445 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.003783/1.488, allocations: 2.926 MB / 1.31 GB, free: 2.496 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.002219/1.49, allocations: 0.9839 MB / 1.311 GB, free: 1.504 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002635/1.493, allocations: 0.7195 MB / 1.312 GB, free: 0.7773 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.493, allocations: 305.1 kB / 1.312 GB, free: 488 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003803/1.497, allocations: 1.675 MB / 1.313 GB, free: 14.8 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005469/1.502, allocations: 3.024 MB / 1.316 GB, free: 11.2 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009009/1.511, allocations: 4.978 MB / 1.321 GB, free: 5.633 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.826e-05/1.511, allocations: 12 kB / 1.321 GB, free: 5.621 MB / 1.154 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01437/1.525, allocations: 5.389 MB / 1.327 GB, free: 184 kB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 7.114e-05/1.526, allocations: 20 kB / 1.327 GB, free: 164 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.788e-05/1.526, allocations: 40 kB / 1.327 GB, free: 124 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/1.527, allocations: 425.7 kB / 1.327 GB, free: 15.7 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003753/1.531, allocations: 0.858 MB / 1.328 GB, free: 14.84 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007384/1.538, allocations: 5.363 MB / 1.333 GB, free: 9.27 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005354/1.543, allocations: 473 kB / 1.334 GB, free: 8.805 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008547/1.544, allocations: 187.9 kB / 1.334 GB, free: 8.621 MB / 1.17 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.005832/1.55, allocations: 2.28 MB / 1.336 GB, free: 6.328 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00224/1.552, allocations: 445.2 kB / 1.336 GB, free: 5.891 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009136/1.561, allocations: 4.125 MB / 1.34 GB, free: 1.711 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.755e-05/1.561, allocations: 28 kB / 1.34 GB, free: 1.684 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/1.562, allocations: 4 kB / 1.34 GB, free: 1.68 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006533/1.568, allocations: 3.624 MB / 1.344 GB, free: 13.94 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02572/1.594, allocations: 8.885 MB / 1.353 GB, free: 4.902 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/1.594, allocations: 7.938 kB / 1.353 GB, free: 4.895 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002623/1.596, allocations: 0.4992 MB / 1.353 GB, free: 4.395 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/1.597, allocations: 376.6 kB / 1.354 GB, free: 4.023 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005044/1.598, allocations: 75.95 kB / 1.354 GB, free: 3.949 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007079/1.605, allocations: 5.312 MB / 1.359 GB, free: 14.44 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.605, allocations: 4 kB / 1.359 GB, free: 14.44 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/1.619, allocations: 6.195 MB / 1.365 GB, free: 8.07 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003937/1.623, allocations: 0.9788 MB / 1.366 GB, free: 7.09 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001799/1.625, allocations: 63.98 kB / 1.366 GB, free: 7.027 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004287/1.629, allocations: 175.7 kB / 1.366 GB, free: 6.855 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006121/1.63, allocations: 185.5 kB / 1.366 GB, free: 6.672 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006085/1.63, allocations: 127.9 kB / 1.366 GB, free: 6.547 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.007911/1.638, allocations: 3.116 MB / 1.369 GB, free: 3.426 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.11e-07/1.638, allocations: 0 / 1.369 GB, free: 3.426 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.009758/1.648, allocations: 1.882 MB / 1.371 GB, free: 1.539 MB / 1.201 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.001871/1.65, allocations: 462.1 kB / 1.372 GB, free: 1.078 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.009526/1.659, allocations: 4.133 MB / 1.376 GB, free: 12.91 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/1.659, allocations: 4 kB / 1.376 GB, free: 12.9 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004159/1.663, allocations: 1.938 MB / 1.378 GB, free: 10.94 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01575/1.679, allocations: 2.617 MB / 1.38 GB, free: 8.402 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.026/1.705, allocations: 12.51 MB / 1.392 GB, free: 11.8 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006425/1.712, allocations: 3.805 MB / 1.396 GB, free: 7.957 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.006914/1.719, allocations: 1.664 MB / 1.398 GB, free: 6.309 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00181/1.72, allocations: 376.4 kB / 1.398 GB, free: 5.941 MB / 1.232 GB Notification: Performance of SimCode: time 1.873e-06/1.72, allocations: 0 / 1.398 GB, free: 5.941 MB / 1.232 GB Notification: Performance of Templates: time 0.1761/1.896, allocations: 94.82 MB / 1.491 GB, free: 8.582 MB / 1.326 GB " [Timeout remaining time 298] 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 -s ida -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: 12.402093169046566]