Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001572/0.001572, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.00211/0.00211, allocations: 217.1 kB / 22.3 MB, free: 5.281 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.565/1.565, allocations: 230.6 MB / 256.1 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.501/3.501, allocations: 0.5107 GB / 0.8159 GB, free: 17.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.0023/0.0023, allocations: 67.3 kB / 1.186 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4711/0.4734, allocations: 181.9 MB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05893/0.5324, allocations: 45.48 MB / 1.408 GB, free: 15.83 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02485/0.5572, allocations: 12.97 MB / 1.421 GB, free: 2.828 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003748/0.561, allocations: 91.25 kB / 1.421 GB, free: 2.738 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002963/0.5639, allocations: 0.811 MB / 1.422 GB, free: 1.922 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008731/0.5727, allocations: 2.39 MB / 1.424 GB, free: 15.52 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004361/0.577, allocations: 1.35 MB / 1.426 GB, free: 14.18 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.02504/0.6021, allocations: 20.36 MB / 1.445 GB, free: 9.766 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01162/0.6137, allocations: 6.463 MB / 1.452 GB, free: 3.176 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01783/0.6315, allocations: 6.925 MB / 1.459 GB, free: 12.27 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0151/0.6466, allocations: 6.285 MB / 1.465 GB, free: 5.961 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.00403/0.6506, allocations: 0.8438 MB / 1.466 GB, free: 5.117 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008489/0.6591, allocations: 1.487 MB / 1.467 GB, free: 3.629 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.00571/0.6648, allocations: 2.204 MB / 1.469 GB, free: 1.418 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0126/0.6774, allocations: 3.525 MB / 1.473 GB, free: 13.88 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.02298/0.7004, allocations: 12.22 MB / 1.485 GB, free: 1.625 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/0.7004, allocations: 3.938 kB / 1.485 GB, free: 1.621 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7004, allocations: 0 / 1.485 GB, free: 1.621 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0005748/0.701, allocations: 0 / 1.485 GB, free: 1.621 MB / 1.17 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.02729/0.7283, allocations: 7.85 MB / 1.492 GB, free: 9.699 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.7283, allocations: 12.03 kB / 1.492 GB, free: 9.688 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004857/0.7332, allocations: 0.875 MB / 1.493 GB, free: 8.809 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01507/0.7483, allocations: 6.39 MB / 1.499 GB, free: 2.34 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004876/0.7488, allocations: 415.4 kB / 1.5 GB, free: 1.934 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002139/0.7509, allocations: 0.5506 MB / 1.5 GB, free: 1.383 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0226/0.7735, allocations: 9.139 MB / 1.509 GB, free: 7.746 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001512/0.7736, allocations: 15.88 kB / 1.509 GB, free: 7.73 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007541/0.7744, allocations: 236 kB / 1.509 GB, free: 7.5 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001965/0.7746, allocations: 163.9 kB / 1.51 GB, free: 7.34 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/0.7881, allocations: 6.512 MB / 1.516 GB, free: 0.8164 MB / 1.201 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.04784/0.8359, allocations: 22.48 MB / 1.538 GB, free: 9.953 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006768/0.8427, allocations: 3.438 MB / 1.541 GB, free: 6.523 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004667/0.8474, allocations: 2.575 MB / 1.544 GB, free: 3.938 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007652/0.8481, allocations: 150 kB / 1.544 GB, free: 3.789 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/0.8483, allocations: 72.61 kB / 1.544 GB, free: 3.707 MB / 1.232 GB Notification: Performance of pre-optimization done (n=267): time 5.781e-06/0.8483, allocations: 0 / 1.544 GB, free: 3.707 MB / 1.232 GB Notification: Performance of matching and sorting (n=267): time 0.01306/0.8613, allocations: 5.564 MB / 1.549 GB, free: 14.08 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.597e-05/0.8614, allocations: 77.52 kB / 1.549 GB, free: 13.99 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01048/0.8719, allocations: 4.551 MB / 1.554 GB, free: 9.418 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0007062/0.8726, allocations: 81.7 kB / 1.554 GB, free: 9.332 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.003359/0.8759, allocations: 2.93 MB / 1.557 GB, free: 6.379 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001891/0.8778, allocations: 0.98 MB / 1.558 GB, free: 5.391 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002006/0.8798, allocations: 0.7195 MB / 1.558 GB, free: 4.664 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.88, allocations: 305.1 kB / 1.559 GB, free: 4.363 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00326/0.8832, allocations: 1.674 MB / 1.56 GB, free: 2.688 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004451/0.8877, allocations: 3.04 MB / 1.563 GB, free: 15.07 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007798/0.8955, allocations: 4.966 MB / 1.568 GB, free: 9.516 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.757e-05/0.8955, allocations: 12 kB / 1.568 GB, free: 9.504 MB / 1.264 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01266/0.9082, allocations: 5.381 MB / 1.573 GB, free: 4.07 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/0.9083, allocations: 22.19 kB / 1.574 GB, free: 4.051 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.183e-05/0.9084, allocations: 40 kB / 1.574 GB, free: 4.012 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.9097, allocations: 428.2 kB / 1.574 GB, free: 3.59 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003269/0.9129, allocations: 0.8619 MB / 1.575 GB, free: 2.727 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007162/0.9201, allocations: 5.359 MB / 1.58 GB, free: 13.16 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004944/0.925, allocations: 472.9 kB / 1.58 GB, free: 12.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006022/0.9256, allocations: 184 kB / 1.581 GB, free: 12.52 MB / 1.279 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.005388/0.931, allocations: 2.285 MB / 1.583 GB, free: 10.22 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00224/0.9333, allocations: 445.2 kB / 1.583 GB, free: 9.785 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009163/0.9424, allocations: 4.111 MB / 1.587 GB, free: 5.617 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.932e-05/0.9425, allocations: 28 kB / 1.587 GB, free: 5.59 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.702e-05/0.9425, allocations: 4 kB / 1.587 GB, free: 5.586 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00626/0.9488, allocations: 3.628 MB / 1.591 GB, free: 1.844 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02354/0.9723, allocations: 8.892 MB / 1.6 GB, free: 8.801 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.961e-05/0.9723, allocations: 4 kB / 1.6 GB, free: 8.797 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002315/0.9746, allocations: 0.4954 MB / 1.6 GB, free: 8.301 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009657/0.9756, allocations: 379.8 kB / 1.6 GB, free: 7.926 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000335/0.9759, allocations: 71.97 kB / 1.601 GB, free: 7.855 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006614/0.9825, allocations: 5.319 MB / 1.606 GB, free: 2.34 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/0.9826, allocations: 4 kB / 1.606 GB, free: 2.336 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.913/1.896, allocations: 6.183 MB / 1.612 GB, free: 224.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003495/1.899, allocations: 0.9814 MB / 1.613 GB, free: 224.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/1.9, allocations: 61.39 kB / 1.613 GB, free: 224.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002653/1.903, allocations: 168.1 kB / 1.613 GB, free: 224.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004161/1.903, allocations: 188.6 kB / 1.613 GB, free: 224.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003264/1.903, allocations: 129.9 kB / 1.613 GB, free: 224.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.007752/1.911, allocations: 3.111 MB / 1.616 GB, free: 223.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.2e-07/1.911, allocations: 0 / 1.616 GB, free: 223.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.009064/1.92, allocations: 1.901 MB / 1.618 GB, free: 223.3 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.001276/1.922, allocations: 471.5 kB / 1.619 GB, free: 223.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.008132/1.93, allocations: 4.134 MB / 1.623 GB, free: 221.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/1.93, allocations: 3.406 kB / 1.623 GB, free: 221.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003376/1.933, allocations: 1.928 MB / 1.624 GB, free: 220.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01299/1.946, allocations: 2.621 MB / 1.627 GB, free: 220.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02115/1.967, allocations: 12.5 MB / 1.639 GB, free: 214.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005267/1.973, allocations: 3.811 MB / 1.643 GB, free: 213.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.005811/1.978, allocations: 1.659 MB / 1.645 GB, free: 213.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/1.98, allocations: 380.7 kB / 1.645 GB, free: 213.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.262e-06/1.98, allocations: 4 kB / 1.645 GB, free: 213.4 MB / 1.295 GB Notification: Performance of Templates: time 0.1285/2.108, allocations: 94.81 MB / 1.738 GB, free: 131.4 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.97528937458992]