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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001124/0.001124, allocations: 109.5 kB / 16.41 MB, free: 6.453 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.001099/0.0011, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.603/2.603, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 67.89 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.979/0.9805, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05259/1.033, allocations: 49.31 MB / 1.257 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.021/1.054, allocations: 13.81 MB / 1.27 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00315/1.057, allocations: 75.62 kB / 1.27 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004074/1.062, allocations: 0.8071 MB / 1.271 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009853/1.071, allocations: 2.246 MB / 1.273 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004214/1.076, allocations: 1.309 MB / 1.274 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02501/1.101, allocations: 19.6 MB / 1.294 GB, free: 6.156 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01681/1.118, allocations: 9.91 MB / 1.303 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01484/1.132, allocations: 6.587 MB / 1.31 GB, free: 5.559 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01132/1.144, allocations: 5.755 MB / 1.315 GB, free: 15.78 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.003291/1.147, allocations: 0.8438 MB / 1.316 GB, free: 14.94 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007063/1.154, allocations: 1.608 MB / 1.318 GB, free: 13.33 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004469/1.159, allocations: 2.115 MB / 1.32 GB, free: 11.21 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.01097/1.17, allocations: 4.291 MB / 1.324 GB, free: 6.898 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01995/1.19, allocations: 12.06 MB / 1.336 GB, free: 10.8 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-05/1.19, allocations: 0 / 1.336 GB, free: 10.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/1.19, allocations: 0 / 1.336 GB, free: 10.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0005894/1.19, allocations: 0 / 1.336 GB, free: 10.8 MB / 1.061 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.02353/1.214, allocations: 7.733 MB / 1.343 GB, free: 2.992 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/1.214, allocations: 11.97 kB / 1.343 GB, free: 2.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004602/1.219, allocations: 0.7813 MB / 1.344 GB, free: 2.191 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01498/1.234, allocations: 6.311 MB / 1.35 GB, free: 11.82 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005462/1.234, allocations: 411.4 kB / 1.351 GB, free: 11.41 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002333/1.237, allocations: 0.5428 MB / 1.351 GB, free: 10.87 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02155/1.258, allocations: 8.072 MB / 1.359 GB, free: 2.559 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002622/1.258, allocations: 15.88 kB / 1.359 GB, free: 2.543 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001967/1.26, allocations: 240 kB / 1.359 GB, free: 2.309 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/1.261, allocations: 164 kB / 1.359 GB, free: 2.148 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01517/1.276, allocations: 6.528 MB / 1.366 GB, free: 11.61 MB / 1.092 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.05187/1.328, allocations: 31.2 MB / 1.396 GB, free: 10.57 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006645/1.334, allocations: 3.65 MB / 1.4 GB, free: 6.93 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004661/1.339, allocations: 2.804 MB / 1.403 GB, free: 4.117 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/1.34, allocations: 0.828 MB / 1.403 GB, free: 3.121 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/1.34, allocations: 72.67 kB / 1.403 GB, free: 3.039 MB / 1.123 GB Notification: Performance of pre-optimization done (n=267): time 5.75e-06/1.34, allocations: 0 / 1.403 GB, free: 3.039 MB / 1.123 GB Notification: Performance of matching and sorting (n=267): time 0.01281/1.353, allocations: 5.759 MB / 1.409 GB, free: 13.18 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/1.353, allocations: 81.52 kB / 1.409 GB, free: 13.09 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/1.364, allocations: 5.235 MB / 1.414 GB, free: 7.852 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0007107/1.365, allocations: 81.7 kB / 1.414 GB, free: 7.766 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.003034/1.368, allocations: 2.86 MB / 1.417 GB, free: 4.875 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001659/1.369, allocations: 0.9398 MB / 1.418 GB, free: 3.922 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002044/1.371, allocations: 0.7113 MB / 1.419 GB, free: 3.203 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001074/1.371, allocations: 313 kB / 1.419 GB, free: 2.895 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002886/1.374, allocations: 1.67 MB / 1.421 GB, free: 1.223 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003732/1.378, allocations: 2.936 MB / 1.423 GB, free: 13.73 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006874/1.385, allocations: 4.966 MB / 1.428 GB, free: 8.172 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.871e-05/1.385, allocations: 16 kB / 1.428 GB, free: 8.156 MB / 1.154 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01025/1.395, allocations: 5.426 MB / 1.434 GB, free: 2.676 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.348e-05/1.395, allocations: 24 kB / 1.434 GB, free: 2.652 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.641e-05/1.395, allocations: 44.12 kB / 1.434 GB, free: 2.609 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/1.397, allocations: 425.2 kB / 1.434 GB, free: 2.188 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003221/1.4, allocations: 0.8657 MB / 1.435 GB, free: 1.32 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006017/1.406, allocations: 5.691 MB / 1.441 GB, free: 11.36 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004758/1.411, allocations: 0.5183 MB / 1.441 GB, free: 10.84 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007846/1.411, allocations: 180 kB / 1.441 GB, free: 10.66 MB / 1.17 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.004749/1.416, allocations: 2.28 MB / 1.443 GB, free: 8.367 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001861/1.418, allocations: 490.2 kB / 1.444 GB, free: 7.883 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008298/1.426, allocations: 4.187 MB / 1.448 GB, free: 3.641 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-05/1.426, allocations: 24.05 kB / 1.448 GB, free: 3.617 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/1.426, allocations: 11.92 kB / 1.448 GB, free: 3.605 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005549/1.432, allocations: 3.628 MB / 1.452 GB, free: 15.86 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02168/1.454, allocations: 10.26 MB / 1.462 GB, free: 5.422 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/1.454, allocations: 8 kB / 1.462 GB, free: 5.414 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00223/1.456, allocations: 0.5036 MB / 1.462 GB, free: 4.91 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008728/1.457, allocations: 375.4 kB / 1.462 GB, free: 4.539 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003061/1.457, allocations: 75.95 kB / 1.463 GB, free: 4.465 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005704/1.463, allocations: 5.632 MB / 1.468 GB, free: 14.55 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.463, allocations: 4 kB / 1.468 GB, free: 14.55 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/1.474, allocations: 6.258 MB / 1.474 GB, free: 8.117 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003482/1.477, allocations: 1.092 MB / 1.475 GB, free: 7 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001484/1.479, allocations: 67.92 kB / 1.475 GB, free: 6.934 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003601/1.482, allocations: 183.7 kB / 1.475 GB, free: 6.754 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004731/1.483, allocations: 177.6 kB / 1.476 GB, free: 6.582 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004401/1.483, allocations: 127.9 kB / 1.476 GB, free: 6.457 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.007419/1.491, allocations: 3.839 MB / 1.479 GB, free: 2.633 MB / 1.201 GB Notification: Performance of sort global known variables: time 7.81e-07/1.491, allocations: 0 / 1.479 GB, free: 2.633 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.006933/1.498, allocations: 1.804 MB / 1.481 GB, free: 0.8242 MB / 1.201 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.001576/1.499, allocations: 484.9 kB / 1.482 GB, free: 360 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.007452/1.507, allocations: 4.269 MB / 1.486 GB, free: 12.04 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.507, allocations: 4 kB / 1.486 GB, free: 12.03 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003304/1.51, allocations: 2.049 MB / 1.488 GB, free: 9.957 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01756/1.528, allocations: 3.453 MB / 1.491 GB, free: 6.602 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02358/1.551, allocations: 12.53 MB / 1.503 GB, free: 9.98 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005638/1.557, allocations: 4.235 MB / 1.508 GB, free: 5.715 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001999/1.559, allocations: 451.2 kB / 1.508 GB, free: 5.273 MB / 1.232 GB Notification: Performance of SimCode: time 1.082e-06/1.559, allocations: 0 / 1.508 GB, free: 5.273 MB / 1.232 GB Notification: Performance of Templates: time 0.8213/2.38, allocations: 175.1 MB / 1.679 GB, free: 221.2 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches