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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006384/0.006384, allocations: 102 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 192 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.677/2.677, allocations: 472.6 MB / 0.7453 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.84 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.007, allocations: 159.9 MB / 1.226 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05175/1.059, allocations: 49.32 MB / 1.274 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02639/1.085, allocations: 13.82 MB / 1.287 GB, free: 14.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00506/1.09, allocations: 71.62 kB / 1.287 GB, free: 14.18 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003328/1.094, allocations: 0.8032 MB / 1.288 GB, free: 13.37 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008079/1.102, allocations: 2.25 MB / 1.29 GB, free: 11.11 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004111/1.106, allocations: 1.316 MB / 1.292 GB, free: 9.797 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.02263/1.128, allocations: 19.58 MB / 1.311 GB, free: 6.152 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01582/1.144, allocations: 9.902 MB / 1.32 GB, free: 12.12 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02147/1.166, allocations: 6.528 MB / 1.327 GB, free: 5.621 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01243/1.178, allocations: 5.758 MB / 1.332 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.003429/1.182, allocations: 0.8438 MB / 1.333 GB, free: 15 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0102/1.192, allocations: 1.604 MB / 1.335 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.005522/1.198, allocations: 2.115 MB / 1.337 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.01143/1.209, allocations: 4.287 MB / 1.341 GB, free: 6.965 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.02238/1.232, allocations: 12.1 MB / 1.353 GB, free: 10.83 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/1.232, allocations: 0 / 1.353 GB, free: 10.83 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.765e-06/1.232, allocations: 0 / 1.353 GB, free: 10.83 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0005313/1.232, allocations: 0 / 1.353 GB, free: 10.83 MB / 1.076 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.02561/1.258, allocations: 7.913 MB / 1.361 GB, free: 2.828 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/1.258, allocations: 12.02 kB / 1.361 GB, free: 2.816 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005102/1.263, allocations: 0.8243 MB / 1.361 GB, free: 1.988 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01551/1.278, allocations: 6.334 MB / 1.368 GB, free: 11.59 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005043/1.279, allocations: 419.4 kB / 1.368 GB, free: 11.18 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002558/1.282, allocations: 0.5506 MB / 1.368 GB, free: 10.63 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02342/1.305, allocations: 8.068 MB / 1.376 GB, free: 2.324 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003089/1.305, allocations: 19.89 kB / 1.376 GB, free: 2.305 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002017/1.307, allocations: 236 kB / 1.377 GB, free: 2.074 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002126/1.308, allocations: 163.9 kB / 1.377 GB, free: 1.914 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0172/1.325, allocations: 6.528 MB / 1.383 GB, free: 11.38 MB / 1.107 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.05822/1.383, allocations: 31.27 MB / 1.414 GB, free: 10.27 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0073/1.391, allocations: 3.643 MB / 1.417 GB, free: 6.641 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005055/1.396, allocations: 2.788 MB / 1.42 GB, free: 3.84 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/1.397, allocations: 0.8358 MB / 1.421 GB, free: 2.836 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/1.397, allocations: 68.67 kB / 1.421 GB, free: 2.758 MB / 1.139 GB Notification: Performance of pre-optimization done (n=267): time 9.297e-06/1.397, allocations: 0 / 1.421 GB, free: 2.758 MB / 1.139 GB Notification: Performance of matching and sorting (n=267): time 0.01414/1.411, allocations: 5.789 MB / 1.427 GB, free: 12.87 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/1.411, allocations: 77.52 kB / 1.427 GB, free: 12.78 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01246/1.424, allocations: 5.235 MB / 1.432 GB, free: 7.547 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0008957/1.425, allocations: 81.7 kB / 1.432 GB, free: 7.461 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.003591/1.428, allocations: 2.938 MB / 1.435 GB, free: 4.5 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.00205/1.43, allocations: 0.9839 MB / 1.436 GB, free: 3.508 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002606/1.433, allocations: 0.7195 MB / 1.436 GB, free: 2.781 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001184/1.433, allocations: 309 kB / 1.437 GB, free: 2.477 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003591/1.437, allocations: 1.674 MB / 1.438 GB, free: 0.8008 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004615/1.441, allocations: 2.932 MB / 1.441 GB, free: 13.32 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008245/1.45, allocations: 4.966 MB / 1.446 GB, free: 7.762 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.315e-05/1.45, allocations: 12 kB / 1.446 GB, free: 7.75 MB / 1.17 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01259/1.462, allocations: 5.459 MB / 1.451 GB, free: 2.238 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.729e-05/1.462, allocations: 20 kB / 1.451 GB, free: 2.219 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-05/1.463, allocations: 40 kB / 1.451 GB, free: 2.18 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/1.464, allocations: 424.9 kB / 1.452 GB, free: 1.762 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003435/1.467, allocations: 0.8618 MB / 1.453 GB, free: 0.8984 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006764/1.474, allocations: 5.701 MB / 1.458 GB, free: 10.92 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005463/1.479, allocations: 0.5354 MB / 1.459 GB, free: 10.38 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009239/1.48, allocations: 180 kB / 1.459 GB, free: 10.21 MB / 1.186 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.005457/1.486, allocations: 2.28 MB / 1.461 GB, free: 7.914 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002374/1.488, allocations: 0.5008 MB / 1.462 GB, free: 7.41 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009949/1.498, allocations: 4.18 MB / 1.466 GB, free: 3.176 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.776e-05/1.498, allocations: 31.98 kB / 1.466 GB, free: 3.145 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.246e-05/1.498, allocations: 4 kB / 1.466 GB, free: 3.141 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006374/1.505, allocations: 3.632 MB / 1.469 GB, free: 15.39 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02582/1.531, allocations: 10.28 MB / 1.479 GB, free: 4.938 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.75e-05/1.531, allocations: 8.125 kB / 1.479 GB, free: 4.93 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002475/1.533, allocations: 0.4992 MB / 1.48 GB, free: 4.43 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009908/1.534, allocations: 370.6 kB / 1.48 GB, free: 4.062 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004944/1.535, allocations: 75.97 kB / 1.48 GB, free: 3.988 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006604/1.541, allocations: 5.652 MB / 1.486 GB, free: 14.05 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/1.541, allocations: 12 kB / 1.486 GB, free: 14.04 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01329/1.555, allocations: 6.272 MB / 1.492 GB, free: 7.602 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003901/1.559, allocations: 1.114 MB / 1.493 GB, free: 6.465 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001834/1.56, allocations: 63.92 kB / 1.493 GB, free: 6.402 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004176/1.565, allocations: 187.7 kB / 1.493 GB, free: 6.219 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005029/1.565, allocations: 177.6 kB / 1.493 GB, free: 6.043 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005052/1.566, allocations: 127.9 kB / 1.493 GB, free: 5.918 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00903/1.575, allocations: 3.839 MB / 1.497 GB, free: 2.094 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.053e-06/1.575, allocations: 0 / 1.497 GB, free: 2.094 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.008547/1.583, allocations: 1.817 MB / 1.499 GB, free: 280 kB / 1.217 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.00201/1.585, allocations: 493.5 kB / 1.499 GB, free: 15.79 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.009018/1.594, allocations: 4.274 MB / 1.504 GB, free: 11.48 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.429e-05/1.594, allocations: 11.72 kB / 1.504 GB, free: 11.47 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.003917/1.598, allocations: 2.044 MB / 1.506 GB, free: 9.398 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02111/1.62, allocations: 3.451 MB / 1.509 GB, free: 6.043 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0288/1.648, allocations: 12.66 MB / 1.521 GB, free: 9.285 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007009/1.655, allocations: 4.303 MB / 1.526 GB, free: 4.953 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.007717/1.663, allocations: 1.854 MB / 1.527 GB, free: 3.109 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002077/1.665, allocations: 423.2 kB / 1.528 GB, free: 2.695 MB / 1.248 GB Notification: Performance of SimCode: time 1.893e-06/1.665, allocations: 0 / 1.528 GB, free: 2.695 MB / 1.248 GB Notification: Performance of Templates: time 1.004/2.67, allocations: 113.2 MB / 1.638 GB, free: 207.8 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) 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) Reference file matches