Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=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_11_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_11_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.001335/0.001335, allocations: 106.7 kB / 15.99 MB, free: 5.895 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.001284/0.001284, allocations: 191.9 kB / 16.91 MB, free: 5.746 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.444/1.444, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.752/2.752, allocations: 469.8 MB / 0.7427 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 68.55 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3548, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.6542/1.009, allocations: 48.9 MB / 1.112 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02398/1.033, allocations: 13.7 MB / 1.125 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004108/1.037, allocations: 61.44 kB / 1.125 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003229/1.041, allocations: 0.6839 MB / 1.126 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.008599/1.049, allocations: 2.1 MB / 1.128 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004473/1.054, allocations: 1.197 MB / 1.129 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.03048/1.084, allocations: 19.68 MB / 1.148 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0187/1.103, allocations: 9.823 MB / 1.158 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01919/1.122, allocations: 6.581 MB / 1.164 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01405/1.136, allocations: 5.924 MB / 1.17 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.004137/1.14, allocations: 0.8347 MB / 1.171 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01026/1.151, allocations: 1.609 MB / 1.173 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.005419/1.156, allocations: 2.095 MB / 1.175 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.01363/1.17, allocations: 4.273 MB / 1.179 GB, free: 3.961 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01807/1.188, allocations: 9.836 MB / 1.188 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/1.188, allocations: 0 / 1.188 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.575e-06/1.188, allocations: 0 / 1.188 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0005519/1.188, allocations: 0 / 1.188 GB, free: 10.11 MB / 0.9044 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.02575/1.214, allocations: 7.718 MB / 1.196 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/1.214, allocations: 15.97 kB / 1.196 GB, free: 2.293 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004969/1.219, allocations: 0.7814 MB / 1.197 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0158/1.235, allocations: 6.241 MB / 1.203 GB, free: 11.2 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005696/1.236, allocations: 415.6 kB / 1.203 GB, free: 10.79 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002559/1.238, allocations: 0.5428 MB / 1.204 GB, free: 10.25 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02329/1.262, allocations: 8.076 MB / 1.212 GB, free: 1.938 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002967/1.262, allocations: 27.77 kB / 1.212 GB, free: 1.91 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001935/1.264, allocations: 232 kB / 1.212 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002114/1.264, allocations: 159.9 kB / 1.212 GB, free: 1.527 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0168/1.281, allocations: 6.528 MB / 1.218 GB, free: 10.99 MB / 0.9356 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.06055/1.342, allocations: 31.12 MB / 1.249 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00857/1.35, allocations: 3.644 MB / 1.252 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006287/1.357, allocations: 2.811 MB / 1.255 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/1.358, allocations: 0.8358 MB / 1.256 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/1.358, allocations: 72.61 kB / 1.256 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=267): time 6.732e-06/1.358, allocations: 0 / 1.256 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of matching and sorting (n=267): time 0.01506/1.373, allocations: 5.77 MB / 1.262 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.411e-05/1.373, allocations: 81.52 kB / 1.262 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01276/1.386, allocations: 5.028 MB / 1.267 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0008079/1.387, allocations: 77.7 kB / 1.267 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.003759/1.391, allocations: 2.864 MB / 1.27 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001989/1.393, allocations: 0.9359 MB / 1.27 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002408/1.395, allocations: 0.7113 MB / 1.271 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.395, allocations: 309.1 kB / 1.271 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003512/1.399, allocations: 1.674 MB / 1.273 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004872/1.404, allocations: 2.932 MB / 1.276 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008933/1.413, allocations: 4.966 MB / 1.281 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.469e-05/1.413, allocations: 12 kB / 1.281 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01363/1.426, allocations: 5.441 MB / 1.286 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.972e-05/1.427, allocations: 24 kB / 1.286 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-05/1.427, allocations: 36 kB / 1.286 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/1.428, allocations: 423.5 kB / 1.287 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003646/1.432, allocations: 0.858 MB / 1.287 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007491/1.439, allocations: 5.71 MB / 1.293 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00617/1.445, allocations: 0.6394 MB / 1.294 GB, free: 10.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008872/1.446, allocations: 176 kB / 1.294 GB, free: 10.18 MB / 1.014 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.005885/1.452, allocations: 2.29 MB / 1.296 GB, free: 7.879 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002255/1.454, allocations: 486.1 kB / 1.296 GB, free: 7.398 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/1.465, allocations: 4.183 MB / 1.301 GB, free: 3.156 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.45e-05/1.465, allocations: 28 kB / 1.301 GB, free: 3.129 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.503e-05/1.465, allocations: 8 kB / 1.301 GB, free: 3.121 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006536/1.471, allocations: 3.632 MB / 1.304 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02734/1.499, allocations: 10.21 MB / 1.314 GB, free: 4.988 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/1.499, allocations: 4.562 kB / 1.314 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002612/1.501, allocations: 0.4993 MB / 1.315 GB, free: 4.484 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/1.502, allocations: 373.3 kB / 1.315 GB, free: 4.113 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000474/1.503, allocations: 79.95 kB / 1.315 GB, free: 4.035 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007928/1.511, allocations: 5.652 MB / 1.321 GB, free: 14.11 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/1.511, allocations: 7.938 kB / 1.321 GB, free: 14.1 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01456/1.525, allocations: 6.247 MB / 1.327 GB, free: 7.676 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004395/1.53, allocations: 1.08 MB / 1.328 GB, free: 6.57 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002106/1.532, allocations: 63.92 kB / 1.328 GB, free: 6.508 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004802/1.537, allocations: 327.1 kB / 1.328 GB, free: 6.188 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006699/1.538, allocations: 177.6 kB / 1.328 GB, free: 6.016 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006438/1.538, allocations: 127.9 kB / 1.328 GB, free: 5.891 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.009621/1.548, allocations: 3.683 MB / 1.332 GB, free: 2.223 MB / 1.045 GB Notification: Performance of sort global known variables: time 4.71e-07/1.548, allocations: 0 / 1.332 GB, free: 2.223 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00986/1.558, allocations: 1.785 MB / 1.334 GB, free: 444 kB / 1.045 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.002059/1.56, allocations: 483.2 kB / 1.334 GB, free: 15.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01859/1.578, allocations: 8.067 MB / 1.342 GB, free: 7.855 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-05/1.579, allocations: 8.219 kB / 1.342 GB, free: 7.848 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.004779/1.583, allocations: 2.032 MB / 1.344 GB, free: 5.785 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01954/1.603, allocations: 3.46 MB / 1.347 GB, free: 2.457 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03081/1.634, allocations: 14.93 MB / 1.362 GB, free: 3.434 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007151/1.641, allocations: 4.231 MB / 1.366 GB, free: 15.17 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002202/1.643, allocations: 439.2 kB / 1.367 GB, free: 14.74 MB / 1.092 GB Notification: Performance of SimCode: time 1.373e-06/1.643, allocations: 3.938 kB / 1.367 GB, free: 14.74 MB / 1.092 GB Notification: Performance of Templates: time 0.2676/1.911, allocations: 172.5 MB / 1.535 GB, free: 2.648 MB / 1.248 GB make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches