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.001448/0.001448, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001625/0.001625, allocations: 217.8 kB / 23.01 MB, free: 4.609 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.337/1.337, allocations: 230.6 MB / 256.8 MB, free: 8.059 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 2.962/2.962, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.001849/0.001849, allocations: 68.8 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3322, allocations: 180.2 MB / 1.354 GB, free: 8.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04946/0.3817, allocations: 50.43 MB / 1.403 GB, free: 5.41 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01871/0.4004, allocations: 13.99 MB / 1.417 GB, free: 7.391 MB / 1.108 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002204/0.4026, allocations: 95.25 kB / 1.417 GB, free: 7.297 MB / 1.108 GB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.4046, allocations: 0.8382 MB / 1.418 GB, free: 6.453 MB / 1.108 GB Notification: Performance of NFTyping.typeBindings: time 0.005846/0.4105, allocations: 2.41 MB / 1.42 GB, free: 4.031 MB / 1.108 GB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.4135, allocations: 1.373 MB / 1.422 GB, free: 2.664 MB / 1.108 GB Notification: Performance of NFFlatten.flatten: time 0.01975/0.4332, allocations: 20.16 MB / 1.441 GB, free: 14.46 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008625/0.4419, allocations: 6.443 MB / 1.448 GB, free: 7.898 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01261/0.4545, allocations: 6.891 MB / 1.454 GB, free: 1.027 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0103/0.4648, allocations: 5.973 MB / 1.46 GB, free: 11.03 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001838/0.4666, allocations: 0.8438 MB / 1.461 GB, free: 10.19 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004907/0.4715, allocations: 1.682 MB / 1.463 GB, free: 8.504 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002316/0.4738, allocations: 2.2 MB / 1.465 GB, free: 6.297 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.006977/0.4808, allocations: 4.307 MB / 1.469 GB, free: 1.973 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01465/0.4955, allocations: 12.18 MB / 1.481 GB, free: 5.75 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.4955, allocations: 7.984 kB / 1.481 GB, free: 5.742 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4955, allocations: 0 / 1.481 GB, free: 5.742 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.000322/0.4958, allocations: 0 / 1.481 GB, free: 5.742 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.01674/0.5125, allocations: 7.852 MB / 1.489 GB, free: 13.82 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5126, allocations: 16.03 kB / 1.489 GB, free: 13.81 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003211/0.5158, allocations: 0.8829 MB / 1.489 GB, free: 12.92 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0123/0.5281, allocations: 6.386 MB / 1.496 GB, free: 6.449 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003289/0.5284, allocations: 412.8 kB / 1.496 GB, free: 6.047 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001249/0.5297, allocations: 0.5468 MB / 1.497 GB, free: 5.5 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01414/0.5438, allocations: 8.081 MB / 1.504 GB, free: 13.18 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/0.5439, allocations: 11.94 kB / 1.504 GB, free: 13.17 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005713/0.5445, allocations: 239.9 kB / 1.505 GB, free: 12.94 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001586/0.5447, allocations: 171.9 kB / 1.505 GB, free: 12.77 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/0.5556, allocations: 6.524 MB / 1.511 GB, free: 6.234 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.04466/0.6003, allocations: 31.2 MB / 1.542 GB, free: 5.184 MB / 1.233 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005299/0.6056, allocations: 3.444 MB / 1.545 GB, free: 1.734 MB / 1.233 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003725/0.6093, allocations: 2.582 MB / 1.548 GB, free: 15.14 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006342/0.61, allocations: 157.9 kB / 1.548 GB, free: 14.99 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.51e-05/0.61, allocations: 72.45 kB / 1.548 GB, free: 14.91 MB / 1.248 GB Notification: Performance of pre-optimization done (n=267): time 4.338e-06/0.61, allocations: 4 kB / 1.548 GB, free: 14.9 MB / 1.248 GB Notification: Performance of matching and sorting (n=267): time 0.01065/0.6207, allocations: 5.626 MB / 1.553 GB, free: 9.215 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.6208, allocations: 77.52 kB / 1.553 GB, free: 9.125 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007795/0.6285, allocations: 5.251 MB / 1.558 GB, free: 3.875 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004411/0.629, allocations: 81.7 kB / 1.559 GB, free: 3.789 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.002646/0.6316, allocations: 2.926 MB / 1.561 GB, free: 0.8398 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.00126/0.6329, allocations: 0.9879 MB / 1.562 GB, free: 15.84 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009934/0.6339, allocations: 0.7156 MB / 1.563 GB, free: 15.12 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.634, allocations: 305.1 kB / 1.563 GB, free: 14.82 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002592/0.6366, allocations: 1.674 MB / 1.565 GB, free: 13.14 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003545/0.6401, allocations: 2.936 MB / 1.568 GB, free: 9.652 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006466/0.6466, allocations: 4.966 MB / 1.573 GB, free: 4.094 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-05/0.6466, allocations: 12 kB / 1.573 GB, free: 4.082 MB / 1.264 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009239/0.6559, allocations: 5.444 MB / 1.578 GB, free: 14.59 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.6559, allocations: 29.34 kB / 1.578 GB, free: 14.56 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.062e-05/0.656, allocations: 40 kB / 1.578 GB, free: 14.52 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009544/0.6569, allocations: 417.4 kB / 1.579 GB, free: 14.11 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002885/0.6598, allocations: 0.8619 MB / 1.579 GB, free: 13.25 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006055/0.6659, allocations: 5.491 MB / 1.585 GB, free: 7.535 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0039/0.6698, allocations: 0.5314 MB / 1.585 GB, free: 7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003322/0.6701, allocations: 184 kB / 1.585 GB, free: 6.82 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.003783/0.6739, allocations: 2.285 MB / 1.588 GB, free: 4.523 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001246/0.6751, allocations: 0.5008 MB / 1.588 GB, free: 4.02 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006844/0.682, allocations: 4.163 MB / 1.592 GB, free: 15.79 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/0.682, allocations: 31.98 kB / 1.592 GB, free: 15.76 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.682, allocations: 4 kB / 1.592 GB, free: 15.76 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0052/0.6872, allocations: 3.631 MB / 1.596 GB, free: 12.01 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01793/0.7051, allocations: 10.29 MB / 1.606 GB, free: 1.555 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.7051, allocations: 4 kB / 1.606 GB, free: 1.551 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002034/0.7072, allocations: 0.4998 MB / 1.606 GB, free: 1.051 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008575/0.708, allocations: 384.3 kB / 1.607 GB, free: 0.6719 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/0.7082, allocations: 71.97 kB / 1.607 GB, free: 0.6016 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5716/1.28, allocations: 5.425 MB / 1.612 GB, free: 233.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/1.28, allocations: 4.781 kB / 1.612 GB, free: 233.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009836/1.29, allocations: 6.272 MB / 1.618 GB, free: 231.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002861/1.293, allocations: 1.073 MB / 1.619 GB, free: 231.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008119/1.293, allocations: 59.73 kB / 1.619 GB, free: 231.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002354/1.296, allocations: 182.5 kB / 1.619 GB, free: 231.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003246/1.296, allocations: 182 kB / 1.62 GB, free: 231.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002449/1.296, allocations: 135 kB / 1.62 GB, free: 231.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.006057/1.302, allocations: 3.849 MB / 1.624 GB, free: 229.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.81e-07/1.302, allocations: 0.5312 kB / 1.624 GB, free: 229.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005454/1.308, allocations: 1.818 MB / 1.625 GB, free: 229.6 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.0008915/1.309, allocations: 467 kB / 1.626 GB, free: 229.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.005783/1.314, allocations: 4.13 MB / 1.63 GB, free: 227.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/1.314, allocations: 6.781 kB / 1.63 GB, free: 227.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00248/1.317, allocations: 1.928 MB / 1.632 GB, free: 227.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01327/1.33, allocations: 3.467 MB / 1.635 GB, free: 226.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/1.347, allocations: 12.77 MB / 1.648 GB, free: 220.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002747/1.35, allocations: 4.242 MB / 1.652 GB, free: 219.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/1.351, allocations: 444.1 kB / 1.652 GB, free: 219 MB / 1.295 GB Notification: Performance of SimCode: time 7.92e-07/1.351, allocations: 0 / 1.652 GB, free: 219 MB / 1.295 GB Notification: Performance of Templates: time 0.141/1.492, allocations: 174.7 MB / 1.823 GB, free: 53.17 MB / 1.295 GB " [Timeout remaining time 299] 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/jenkins1/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: 25.411186781013384]