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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002262/0.002262, allocations: 190.9 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 250.8 MB, free: 13.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.296/3.296, allocations: 495.8 MB / 0.783 GB, free: 33.65 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 72.02 kB / 1.137 GB, free: 33.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4612, allocations: 173.6 MB / 1.307 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05776/0.5189, allocations: 49.72 MB / 1.355 GB, free: 15.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02335/0.5423, allocations: 13.85 MB / 1.369 GB, free: 2.062 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00377/0.546, allocations: 91.25 kB / 1.369 GB, free: 1.973 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003163/0.5492, allocations: 0.8421 MB / 1.37 GB, free: 1.125 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008793/0.558, allocations: 2.383 MB / 1.372 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005282/0.5633, allocations: 1.379 MB / 1.373 GB, free: 13.36 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.02553/0.5888, allocations: 20.16 MB / 1.393 GB, free: 9.141 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01115/0.6, allocations: 6.451 MB / 1.399 GB, free: 2.562 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01773/0.6177, allocations: 6.874 MB / 1.406 GB, free: 11.71 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01317/0.6309, allocations: 5.961 MB / 1.412 GB, free: 5.73 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.003483/0.6343, allocations: 0.8515 MB / 1.413 GB, free: 4.879 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007719/0.6421, allocations: 1.479 MB / 1.414 GB, free: 3.398 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.005231/0.6473, allocations: 2.204 MB / 1.416 GB, free: 1.188 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.01356/0.6609, allocations: 4.31 MB / 1.421 GB, free: 12.86 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.02324/0.6841, allocations: 12.11 MB / 1.432 GB, free: 0.7109 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.6841, allocations: 0 / 1.432 GB, free: 0.7109 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6841, allocations: 0 / 1.432 GB, free: 0.7109 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0004754/0.6846, allocations: 0 / 1.432 GB, free: 0.7109 MB / 1.123 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.0266/0.7112, allocations: 7.849 MB / 1.44 GB, free: 8.789 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.7112, allocations: 8.031 kB / 1.44 GB, free: 8.781 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005204/0.7164, allocations: 0.8243 MB / 1.441 GB, free: 7.953 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01703/0.7335, allocations: 6.38 MB / 1.447 GB, free: 1.492 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004951/0.734, allocations: 415.4 kB / 1.447 GB, free: 1.086 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002731/0.7367, allocations: 0.5467 MB / 1.448 GB, free: 0.5391 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0243/0.761, allocations: 8.065 MB / 1.456 GB, free: 8.234 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001794/0.7612, allocations: 23.81 kB / 1.456 GB, free: 8.211 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001341/0.7625, allocations: 240 kB / 1.456 GB, free: 7.977 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002125/0.7627, allocations: 164 kB / 1.456 GB, free: 7.816 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01807/0.7808, allocations: 6.52 MB / 1.463 GB, free: 1.285 MB / 1.154 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.06265/0.8434, allocations: 31.1 MB / 1.493 GB, free: 352 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006882/0.8503, allocations: 3.444 MB / 1.496 GB, free: 12.91 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004562/0.8549, allocations: 2.587 MB / 1.499 GB, free: 10.3 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007253/0.8556, allocations: 157.9 kB / 1.499 GB, free: 10.15 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.051e-05/0.8557, allocations: 68.67 kB / 1.499 GB, free: 10.07 MB / 1.201 GB Notification: Performance of pre-optimization done (n=267): time 4.208e-06/0.8557, allocations: 4 kB / 1.499 GB, free: 10.07 MB / 1.201 GB Notification: Performance of matching and sorting (n=267): time 0.01328/0.869, allocations: 5.622 MB / 1.505 GB, free: 4.383 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.8691, allocations: 77.52 kB / 1.505 GB, free: 4.293 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01102/0.8801, allocations: 5.255 MB / 1.51 GB, free: 15.04 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0008817/0.881, allocations: 81.7 kB / 1.51 GB, free: 14.95 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.003421/0.8844, allocations: 2.93 MB / 1.513 GB, free: 12 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.002036/0.8864, allocations: 0.9839 MB / 1.514 GB, free: 11.01 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001363/0.8878, allocations: 0.7195 MB / 1.514 GB, free: 10.28 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.888, allocations: 305.1 kB / 1.515 GB, free: 9.98 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003085/0.891, allocations: 1.674 MB / 1.516 GB, free: 8.305 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004244/0.8953, allocations: 2.936 MB / 1.519 GB, free: 4.82 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00817/0.9035, allocations: 4.966 MB / 1.524 GB, free: 15.26 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-05/0.9035, allocations: 12 kB / 1.524 GB, free: 15.25 MB / 1.232 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01193/0.9154, allocations: 5.444 MB / 1.529 GB, free: 9.754 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.141e-05/0.9155, allocations: 24.22 kB / 1.529 GB, free: 9.73 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.342e-05/0.9156, allocations: 43.98 kB / 1.529 GB, free: 9.688 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.9166, allocations: 415.5 kB / 1.53 GB, free: 9.277 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003563/0.9202, allocations: 0.8618 MB / 1.531 GB, free: 8.414 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006692/0.9269, allocations: 5.486 MB / 1.536 GB, free: 2.707 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005531/0.9324, allocations: 0.5275 MB / 1.537 GB, free: 2.176 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007725/0.9332, allocations: 184 kB / 1.537 GB, free: 1.996 MB / 1.232 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.005151/0.9384, allocations: 2.284 MB / 1.539 GB, free: 15.7 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001972/0.9403, allocations: 0.4969 MB / 1.539 GB, free: 15.2 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008143/0.9485, allocations: 4.178 MB / 1.544 GB, free: 10.96 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/0.9485, allocations: 28 kB / 1.544 GB, free: 10.93 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.9485, allocations: 4 kB / 1.544 GB, free: 10.93 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005829/0.9543, allocations: 3.616 MB / 1.547 GB, free: 7.199 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02187/0.9762, allocations: 10.3 MB / 1.557 GB, free: 12.73 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.9762, allocations: 4 kB / 1.557 GB, free: 12.72 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002397/0.9786, allocations: 0.5037 MB / 1.558 GB, free: 12.22 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001119/0.9797, allocations: 371.7 kB / 1.558 GB, free: 11.85 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003547/0.9801, allocations: 79.95 kB / 1.558 GB, free: 11.77 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007836/0.9879, allocations: 5.438 MB / 1.563 GB, free: 6.109 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.9879, allocations: 4 kB / 1.563 GB, free: 6.105 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01423/1.002, allocations: 6.272 MB / 1.57 GB, free: 15.66 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004629/1.007, allocations: 1.064 MB / 1.571 GB, free: 14.6 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001741/1.009, allocations: 67.92 kB / 1.571 GB, free: 14.53 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004128/1.013, allocations: 183.8 kB / 1.571 GB, free: 14.35 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005212/1.013, allocations: 181.5 kB / 1.571 GB, free: 14.17 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004387/1.014, allocations: 131.8 kB / 1.571 GB, free: 14.04 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.009144/1.023, allocations: 3.847 MB / 1.575 GB, free: 10.21 MB / 1.279 GB Notification: Performance of sort global known variables: time 4.4e-07/1.023, allocations: 0 / 1.575 GB, free: 10.21 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.008806/1.032, allocations: 1.825 MB / 1.577 GB, free: 8.383 MB / 1.279 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.002015/1.034, allocations: 490 kB / 1.577 GB, free: 7.902 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.008895/1.042, allocations: 4.126 MB / 1.581 GB, free: 3.738 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/1.043, allocations: 0 / 1.581 GB, free: 3.738 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003889/1.046, allocations: 1.941 MB / 1.583 GB, free: 1.77 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01892/1.065, allocations: 3.45 MB / 1.586 GB, free: 14.41 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02748/1.093, allocations: 12.75 MB / 1.599 GB, free: 1.562 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006468/1.099, allocations: 4.299 MB / 1.603 GB, free: 13.23 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.007301/1.107, allocations: 1.864 MB / 1.605 GB, free: 11.38 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001855/1.108, allocations: 415.3 kB / 1.605 GB, free: 10.98 MB / 1.311 GB Notification: Performance of SimCode: time 1.172e-06/1.108, allocations: 0 / 1.605 GB, free: 10.98 MB / 1.311 GB Notification: Performance of Templates: time 1.057/2.165, allocations: 116.7 MB / 1.719 GB, free: 210.7 MB / 1.311 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: 14.329060048796237]