Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001731/0.001731, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001927/0.001927, allocations: 198.5 kB / 16.14 MB, free: 6.711 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.531/1.531, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.81/2.81, allocations: 437 MB / 0.7099 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003255/0.003255, allocations: 63.88 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8507/0.854, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05633/0.9104, allocations: 48.99 MB / 1.064 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02246/0.9329, allocations: 13.84 MB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003709/0.9367, allocations: 63.62 kB / 1.078 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003317/0.9401, allocations: 0.6564 MB / 1.079 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.008998/0.9491, allocations: 2.08 MB / 1.081 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004987/0.9541, allocations: 1.193 MB / 1.082 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02979/0.9839, allocations: 25.64 MB / 1.107 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01296/0.9969, allocations: 8.091 MB / 1.115 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0139/1.011, allocations: 4.996 MB / 1.12 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01342/1.024, allocations: 5.586 MB / 1.125 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.003328/1.028, allocations: 420 kB / 1.126 GB, free: 2.773 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008358/1.036, allocations: 1.108 MB / 1.127 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.005219/1.041, allocations: 1.623 MB / 1.128 GB, free: 36 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.01231/1.054, allocations: 3.748 MB / 1.132 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.02149/1.075, allocations: 11.57 MB / 1.143 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/1.075, allocations: 0 / 1.143 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.905e-06/1.075, allocations: 4 kB / 1.143 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0007805/1.076, allocations: 0 / 1.143 GB, free: 0.668 MB / 0.8887 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.02765/1.104, allocations: 7.713 MB / 1.151 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/1.104, allocations: 12.03 kB / 1.151 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005105/1.109, allocations: 0.7853 MB / 1.151 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01847/1.127, allocations: 6.236 MB / 1.158 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006689/1.128, allocations: 419.4 kB / 1.158 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003355/1.132, allocations: 0.5506 MB / 1.159 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02603/1.158, allocations: 8.065 MB / 1.166 GB, free: 8.508 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000317/1.158, allocations: 19.83 kB / 1.166 GB, free: 8.488 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00217/1.16, allocations: 240 kB / 1.167 GB, free: 8.254 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002239/1.16, allocations: 159.9 kB / 1.167 GB, free: 8.098 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02082/1.181, allocations: 6.528 MB / 1.173 GB, free: 1.559 MB / 0.92 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.06198/1.243, allocations: 31.11 MB / 1.204 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006926/1.25, allocations: 3.651 MB / 1.207 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004738/1.255, allocations: 2.806 MB / 1.21 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/1.256, allocations: 0.8319 MB / 1.211 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.378e-05/1.256, allocations: 76.67 kB / 1.211 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=267): time 5.52e-06/1.256, allocations: 0 / 1.211 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=267): time 0.01275/1.269, allocations: 5.77 MB / 1.216 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.356e-05/1.269, allocations: 77.52 kB / 1.216 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009838/1.279, allocations: 5.028 MB / 1.221 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0008686/1.28, allocations: 81.7 kB / 1.221 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.003474/1.284, allocations: 2.864 MB / 1.224 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.002039/1.286, allocations: 0.9359 MB / 1.225 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001231/1.287, allocations: 0.7151 MB / 1.226 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001967/1.287, allocations: 305.1 kB / 1.226 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003162/1.29, allocations: 1.682 MB / 1.228 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004307/1.295, allocations: 2.928 MB / 1.231 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008105/1.303, allocations: 4.974 MB / 1.236 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.33e-05/1.303, allocations: 12 kB / 1.236 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0111/1.314, allocations: 5.441 MB / 1.241 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.389e-05/1.314, allocations: 25.56 kB / 1.241 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.437e-05/1.314, allocations: 40 kB / 1.241 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/1.315, allocations: 415.4 kB / 1.241 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003108/1.318, allocations: 0.8618 MB / 1.242 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006789/1.325, allocations: 5.265 MB / 1.247 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006125/1.331, allocations: 0.6394 MB / 1.248 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006702/1.332, allocations: 180 kB / 1.248 GB, free: 1.195 MB / 0.9981 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.6776/2.009, allocations: 2.28 MB / 1.25 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002072/2.011, allocations: 489.5 kB / 1.251 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008901/2.02, allocations: 4.183 MB / 1.255 GB, free: 211.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.114e-05/2.02, allocations: 26.33 kB / 1.255 GB, free: 211.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/2.02, allocations: 5.922 kB / 1.255 GB, free: 211.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006214/2.027, allocations: 3.63 MB / 1.258 GB, free: 209.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02834/2.055, allocations: 10.21 MB / 1.268 GB, free: 205.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/2.055, allocations: 3.688 kB / 1.268 GB, free: 205.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002239/2.057, allocations: 0.4988 MB / 1.269 GB, free: 205.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000891/2.058, allocations: 376.7 kB / 1.269 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002392/2.058, allocations: 78.33 kB / 1.269 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004872/2.063, allocations: 5.208 MB / 1.274 GB, free: 201.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/2.063, allocations: 7.422 kB / 1.274 GB, free: 201.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/2.075, allocations: 6.257 MB / 1.281 GB, free: 199.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00406/2.08, allocations: 1.074 MB / 1.282 GB, free: 198.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001494/2.081, allocations: 59.58 kB / 1.282 GB, free: 198.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004265/2.085, allocations: 336.7 kB / 1.282 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004253/2.086, allocations: 175.1 kB / 1.282 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003424/2.086, allocations: 127.2 kB / 1.282 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006369/2.093, allocations: 3.687 MB / 1.286 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.7e-07/2.093, allocations: 0 / 1.286 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.01022/2.103, allocations: 1.782 MB / 1.288 GB, free: 197 MB / 0.9981 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.00205/2.105, allocations: 474.9 kB / 1.288 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007248/2.112, allocations: 4.25 MB / 1.292 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/2.112, allocations: 3.875 kB / 1.292 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002929/2.115, allocations: 2.038 MB / 1.294 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02012/2.135, allocations: 3.283 MB / 1.297 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02664/2.162, allocations: 14.9 MB / 1.312 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003298/2.165, allocations: 4.303 MB / 1.316 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006127/2.171, allocations: 1.848 MB / 1.318 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/2.173, allocations: 411.3 kB / 1.318 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of SimCode: time 2.775e-06/2.173, allocations: 0 / 1.318 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.1625/2.335, allocations: 110.9 MB / 1.427 GB, free: 58.24 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches