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.001452/0.001452, allocations: 107.9 kB / 16.45 MB, free: 6.453 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.001607/0.001607, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.525/1.525, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.232/3.232, allocations: 0.4899 GB / 0.7915 GB, free: 33.34 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.002154/0.002154, allocations: 71.89 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4625/0.4647, allocations: 176.1 MB / 1.321 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05639/0.5211, allocations: 49.96 MB / 1.37 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02297/0.544, allocations: 13.91 MB / 1.384 GB, free: 2.746 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003798/0.5478, allocations: 91.25 kB / 1.384 GB, free: 2.656 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003241/0.5511, allocations: 0.8382 MB / 1.385 GB, free: 1.812 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01193/0.563, allocations: 2.359 MB / 1.387 GB, free: 15.44 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005584/0.5686, allocations: 1.321 MB / 1.388 GB, free: 14.13 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02443/0.593, allocations: 19.62 MB / 1.407 GB, free: 10.46 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01361/0.6066, allocations: 8.189 MB / 1.415 GB, free: 2.148 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01787/0.6245, allocations: 6.863 MB / 1.422 GB, free: 11.31 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01357/0.6381, allocations: 5.973 MB / 1.428 GB, free: 5.312 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.003689/0.6417, allocations: 0.8438 MB / 1.429 GB, free: 4.469 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008682/0.6504, allocations: 1.659 MB / 1.43 GB, free: 2.809 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.005398/0.6558, allocations: 2.196 MB / 1.432 GB, free: 0.6055 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.01244/0.6683, allocations: 4.307 MB / 1.437 GB, free: 12.28 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.02153/0.6898, allocations: 12.19 MB / 1.448 GB, free: 52 kB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/0.6898, allocations: 4 kB / 1.448 GB, free: 48 kB / 1.139 GB Notification: Performance of FrontEnd: time 2.394e-06/0.6898, allocations: 4 kB / 1.449 GB, free: 44 kB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0004514/0.6903, allocations: 3.984 kB / 1.449 GB, free: 40 kB / 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.02497/0.7152, allocations: 7.921 MB / 1.456 GB, free: 8.031 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.7153, allocations: 15.98 kB / 1.456 GB, free: 8.016 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005619/0.7209, allocations: 0.8789 MB / 1.457 GB, free: 7.133 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01552/0.7364, allocations: 6.358 MB / 1.463 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004375/0.7369, allocations: 411.4 kB / 1.464 GB, free: 320 kB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00246/0.7393, allocations: 0.5468 MB / 1.464 GB, free: 15.76 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02809/0.7674, allocations: 8.072 MB / 1.472 GB, free: 7.453 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003368/0.7677, allocations: 19.83 kB / 1.472 GB, free: 7.434 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002362/0.7701, allocations: 240 kB / 1.472 GB, free: 7.199 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002522/0.7704, allocations: 168 kB / 1.473 GB, free: 7.035 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01861/0.789, allocations: 6.52 MB / 1.479 GB, free: 0.5039 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.06343/0.8524, allocations: 31.31 MB / 1.509 GB, free: 15.36 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007339/0.8597, allocations: 3.443 MB / 1.513 GB, free: 11.92 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005044/0.8648, allocations: 2.585 MB / 1.515 GB, free: 9.324 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/0.8661, allocations: 0.8278 MB / 1.516 GB, free: 8.332 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.8662, allocations: 72.67 kB / 1.516 GB, free: 8.25 MB / 1.217 GB Notification: Performance of pre-optimization done (n=267): time 6.603e-06/0.8662, allocations: 4 kB / 1.516 GB, free: 8.246 MB / 1.217 GB Notification: Performance of matching and sorting (n=267): time 0.0155/0.8817, allocations: 5.773 MB / 1.522 GB, free: 2.375 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.8818, allocations: 77.52 kB / 1.522 GB, free: 2.285 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01696/0.8988, allocations: 5.232 MB / 1.527 GB, free: 13.05 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.001054/0.8998, allocations: 81.7 kB / 1.527 GB, free: 12.97 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.004144/0.904, allocations: 2.938 MB / 1.53 GB, free: 10.01 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.002232/0.9062, allocations: 0.98 MB / 1.531 GB, free: 9.02 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002711/0.9089, allocations: 0.7156 MB / 1.532 GB, free: 8.297 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.9091, allocations: 305.1 kB / 1.532 GB, free: 7.996 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003664/0.9127, allocations: 1.678 MB / 1.534 GB, free: 6.316 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004998/0.9177, allocations: 2.932 MB / 1.536 GB, free: 2.832 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009111/0.9268, allocations: 4.962 MB / 1.541 GB, free: 13.28 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.106e-05/0.9269, allocations: 12 kB / 1.541 GB, free: 13.27 MB / 1.248 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01442/0.9413, allocations: 5.448 MB / 1.547 GB, free: 7.766 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 7.018e-05/0.9414, allocations: 20.19 kB / 1.547 GB, free: 7.746 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.742e-05/0.9415, allocations: 47.98 kB / 1.547 GB, free: 7.699 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.9429, allocations: 426.4 kB / 1.547 GB, free: 7.277 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00368/0.9466, allocations: 0.858 MB / 1.548 GB, free: 6.418 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007757/0.9543, allocations: 5.695 MB / 1.554 GB, free: 464 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005991/0.9603, allocations: 0.5316 MB / 1.554 GB, free: 15.91 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001114/0.9614, allocations: 180 kB / 1.554 GB, free: 15.74 MB / 1.264 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.006778/0.9682, allocations: 2.284 MB / 1.556 GB, free: 13.44 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003224/0.9714, allocations: 0.4969 MB / 1.557 GB, free: 12.94 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/0.9838, allocations: 4.171 MB / 1.561 GB, free: 8.719 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.866e-05/0.9839, allocations: 32.03 kB / 1.561 GB, free: 8.688 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-05/0.9839, allocations: 7.984 kB / 1.561 GB, free: 8.68 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007378/0.9913, allocations: 3.62 MB / 1.565 GB, free: 4.945 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02994/1.021, allocations: 10.25 MB / 1.575 GB, free: 10.52 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-05/1.021, allocations: 4 kB / 1.575 GB, free: 10.51 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002638/1.024, allocations: 0.5076 MB / 1.575 GB, free: 10 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/1.025, allocations: 375.4 kB / 1.575 GB, free: 9.633 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004682/1.025, allocations: 75.97 kB / 1.576 GB, free: 9.559 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007531/1.033, allocations: 5.651 MB / 1.581 GB, free: 3.625 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.126e-06/1.033, allocations: 7.938 kB / 1.581 GB, free: 3.617 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/1.047, allocations: 6.268 MB / 1.587 GB, free: 13.18 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004306/1.052, allocations: 1.118 MB / 1.588 GB, free: 12.04 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002/1.054, allocations: 63.98 kB / 1.588 GB, free: 11.97 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004697/1.058, allocations: 167.7 kB / 1.588 GB, free: 11.81 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005871/1.059, allocations: 181.6 kB / 1.589 GB, free: 11.63 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005995/1.06, allocations: 127.9 kB / 1.589 GB, free: 11.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0104/1.07, allocations: 3.839 MB / 1.593 GB, free: 7.68 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.91e-07/1.07, allocations: 3.938 kB / 1.593 GB, free: 7.676 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.009734/1.08, allocations: 1.825 MB / 1.594 GB, free: 5.848 MB / 1.295 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.002012/1.082, allocations: 459.2 kB / 1.595 GB, free: 5.391 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0101/1.092, allocations: 4.133 MB / 1.599 GB, free: 1.219 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/1.092, allocations: 4 kB / 1.599 GB, free: 1.215 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.8617/1.953, allocations: 1.921 MB / 1.601 GB, free: 261 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01861/1.972, allocations: 3.452 MB / 1.604 GB, free: 260.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02638/1.998, allocations: 12.65 MB / 1.616 GB, free: 256.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005988/2.004, allocations: 4.299 MB / 1.621 GB, free: 254.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.007282/2.012, allocations: 1.85 MB / 1.622 GB, free: 254.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001671/2.013, allocations: 423.7 kB / 1.623 GB, free: 254.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.303e-06/2.013, allocations: 3.828 kB / 1.623 GB, free: 254.3 MB / 1.295 GB Notification: Performance of Templates: time 0.1533/2.167, allocations: 114.1 MB / 1.734 GB, free: 157 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/jenkins/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: 13.739296943880618]