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.001383/0.001383, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001494/0.001494, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.583/1.583, allocations: 230.6 MB / 256 MB, free: 7.793 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.446/3.446, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.002339/0.002339, allocations: 70.94 kB / 1.186 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4527/0.455, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05266/0.5077, allocations: 45.49 MB / 1.408 GB, free: 15.95 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02193/0.5296, allocations: 12.96 MB / 1.421 GB, free: 2.957 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003324/0.533, allocations: 91.25 kB / 1.421 GB, free: 2.867 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002738/0.5357, allocations: 0.8071 MB / 1.422 GB, free: 2.055 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007767/0.5435, allocations: 2.395 MB / 1.424 GB, free: 15.64 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003919/0.5474, allocations: 1.344 MB / 1.425 GB, free: 14.31 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.02589/0.5733, allocations: 20.37 MB / 1.445 GB, free: 9.887 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01076/0.584, allocations: 6.463 MB / 1.452 GB, free: 3.297 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01634/0.6004, allocations: 6.931 MB / 1.458 GB, free: 12.38 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01329/0.6137, allocations: 6.281 MB / 1.465 GB, free: 6.078 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.003526/0.6172, allocations: 0.8438 MB / 1.465 GB, free: 5.234 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007556/0.6248, allocations: 1.479 MB / 1.467 GB, free: 3.758 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.004936/0.6297, allocations: 2.208 MB / 1.469 GB, free: 1.543 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.01103/0.6407, allocations: 3.522 MB / 1.472 GB, free: 14 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.02092/0.6616, allocations: 12.22 MB / 1.484 GB, free: 1.746 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.6616, allocations: 0 / 1.484 GB, free: 1.746 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6616, allocations: 0 / 1.484 GB, free: 1.746 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0004917/0.6621, allocations: 0 / 1.484 GB, free: 1.746 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.02529/0.6874, allocations: 7.853 MB / 1.492 GB, free: 9.82 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.6875, allocations: 12.03 kB / 1.492 GB, free: 9.809 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005488/0.693, allocations: 0.879 MB / 1.493 GB, free: 8.926 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01755/0.7105, allocations: 6.395 MB / 1.499 GB, free: 2.453 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005889/0.7111, allocations: 411.4 kB / 1.5 GB, free: 2.051 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00291/0.714, allocations: 0.5467 MB / 1.5 GB, free: 1.504 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02589/0.7399, allocations: 9.139 MB / 1.509 GB, free: 7.867 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003115/0.7402, allocations: 19.88 kB / 1.509 GB, free: 7.848 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001988/0.7422, allocations: 236 kB / 1.509 GB, free: 7.617 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002294/0.7424, allocations: 160 kB / 1.509 GB, free: 7.461 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01636/0.7588, allocations: 6.516 MB / 1.516 GB, free: 0.9336 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.05303/0.8118, allocations: 22.48 MB / 1.538 GB, free: 10.07 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00815/0.82, allocations: 3.434 MB / 1.541 GB, free: 6.645 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005117/0.8251, allocations: 2.571 MB / 1.544 GB, free: 4.066 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008075/0.8259, allocations: 150 kB / 1.544 GB, free: 3.918 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/0.826, allocations: 76.55 kB / 1.544 GB, free: 3.832 MB / 1.232 GB Notification: Performance of pre-optimization done (n=267): time 7.574e-06/0.826, allocations: 0 / 1.544 GB, free: 3.832 MB / 1.232 GB Notification: Performance of matching and sorting (n=267): time 0.01432/0.8404, allocations: 5.56 MB / 1.549 GB, free: 14.21 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.443e-05/0.8405, allocations: 77.52 kB / 1.549 GB, free: 14.12 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0107/0.8512, allocations: 4.551 MB / 1.554 GB, free: 9.547 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0008541/0.852, allocations: 81.7 kB / 1.554 GB, free: 9.461 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.003433/0.8554, allocations: 2.922 MB / 1.557 GB, free: 6.516 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.002/0.8574, allocations: 0.9917 MB / 1.558 GB, free: 5.516 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002431/0.8599, allocations: 0.7156 MB / 1.558 GB, free: 4.793 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.86, allocations: 305.1 kB / 1.559 GB, free: 4.492 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003514/0.8635, allocations: 1.678 MB / 1.56 GB, free: 2.812 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004736/0.8683, allocations: 3.036 MB / 1.563 GB, free: 15.2 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008633/0.8769, allocations: 4.966 MB / 1.568 GB, free: 9.641 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.021e-05/0.877, allocations: 12 kB / 1.568 GB, free: 9.629 MB / 1.264 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0127/0.8897, allocations: 5.386 MB / 1.573 GB, free: 4.191 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 6.415e-05/0.8897, allocations: 20 kB / 1.573 GB, free: 4.172 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-05/0.8898, allocations: 40 kB / 1.573 GB, free: 4.133 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.891, allocations: 421.4 kB / 1.574 GB, free: 3.715 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003397/0.8944, allocations: 0.8541 MB / 1.575 GB, free: 2.859 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006769/0.9011, allocations: 5.364 MB / 1.58 GB, free: 13.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005015/0.9062, allocations: 481 kB / 1.58 GB, free: 12.83 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008746/0.907, allocations: 180 kB / 1.58 GB, free: 12.65 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.005712/0.9127, allocations: 2.284 MB / 1.583 GB, free: 10.36 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002206/0.9149, allocations: 445.2 kB / 1.583 GB, free: 9.918 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009495/0.9244, allocations: 4.109 MB / 1.587 GB, free: 5.75 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-05/0.9245, allocations: 28 kB / 1.587 GB, free: 5.723 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.331e-05/0.9245, allocations: 8 kB / 1.587 GB, free: 5.715 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006246/0.9307, allocations: 3.62 MB / 1.591 GB, free: 1.98 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0237/0.9544, allocations: 8.896 MB / 1.599 GB, free: 8.926 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.068e-05/0.9545, allocations: 4 kB / 1.599 GB, free: 8.922 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002431/0.9569, allocations: 0.4998 MB / 1.6 GB, free: 8.422 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.9579, allocations: 383.1 kB / 1.6 GB, free: 8.043 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004236/0.9583, allocations: 75.97 kB / 1.6 GB, free: 7.969 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006674/0.965, allocations: 5.306 MB / 1.606 GB, free: 2.465 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/0.965, allocations: 7.938 kB / 1.606 GB, free: 2.457 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.9278/1.893, allocations: 6.183 MB / 1.612 GB, free: 224.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003984/1.897, allocations: 0.9794 MB / 1.613 GB, free: 224.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001737/1.899, allocations: 61.64 kB / 1.613 GB, free: 224.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004228/1.903, allocations: 165 kB / 1.613 GB, free: 224.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007933/1.904, allocations: 189.8 kB / 1.613 GB, free: 224.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008047/1.904, allocations: 131.4 kB / 1.613 GB, free: 224.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00941/1.914, allocations: 3.114 MB / 1.616 GB, free: 223.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 3.71e-07/1.914, allocations: 4.062 kB / 1.616 GB, free: 223.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.009754/1.924, allocations: 1.893 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.001871/1.925, allocations: 473.5 kB / 1.618 GB, free: 223.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009527/1.935, allocations: 4.135 MB / 1.622 GB, free: 221.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/1.935, allocations: 4 kB / 1.622 GB, free: 221.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004284/1.939, allocations: 1.931 MB / 1.624 GB, free: 220.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01614/1.955, allocations: 2.611 MB / 1.627 GB, free: 220.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02691/1.982, allocations: 12.53 MB / 1.639 GB, free: 214.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00753/1.99, allocations: 3.806 MB / 1.643 GB, free: 213.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.006164/1.996, allocations: 1.667 MB / 1.644 GB, free: 213.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/1.998, allocations: 375.3 kB / 1.645 GB, free: 213.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.994e-06/1.998, allocations: 0 / 1.645 GB, free: 213.4 MB / 1.295 GB Notification: Performance of Templates: time 0.1369/2.135, allocations: 103.9 MB / 1.746 GB, free: 122.5 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.811413260176778]