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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001341/0.001341, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001678/0.001678, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.554/2.554, allocations: 436.5 MB / 0.7104 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003174/0.0003174, allocations: 8 kB / 0.8708 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.628/0.6283, allocations: 153.6 MB / 1.021 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04179/0.6702, allocations: 41.22 MB / 1.061 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01592/0.6861, allocations: 11.98 MB / 1.073 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.6882, allocations: 59.62 kB / 1.073 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002609/0.6908, allocations: 0.7462 MB / 1.074 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.006229/0.6971, allocations: 1.994 MB / 1.075 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004252/0.7013, allocations: 1.425 MB / 1.077 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01379/0.7151, allocations: 10.55 MB / 1.087 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009715/0.7249, allocations: 6.535 MB / 1.094 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007484/0.7324, allocations: 3.99 MB / 1.097 GB, free: 2.445 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006031/0.7385, allocations: 3.43 MB / 1.101 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001613/0.7401, allocations: 304 kB / 1.101 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003952/0.7441, allocations: 0.7961 MB / 1.102 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00257/0.7467, allocations: 1.308 MB / 1.103 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003312/0.75, allocations: 1.479 MB / 1.105 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.7614, allocations: 9.411 MB / 1.114 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.7614, allocations: 0 / 1.114 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7614, allocations: 0 / 1.114 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003934/0.7618, allocations: 7.938 kB / 1.114 GB, free: 1.668 MB / 0.8575 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.01439/0.7762, allocations: 6.291 MB / 1.12 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.7763, allocations: 11.98 kB / 1.12 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003365/0.7797, allocations: 0.7921 MB / 1.121 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/0.7923, allocations: 5.666 MB / 1.126 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004286/0.7928, allocations: 415 kB / 1.127 GB, free: 4.355 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001651/0.7944, allocations: 0.539 MB / 1.127 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.8125, allocations: 7.983 MB / 1.135 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002393/0.8127, allocations: 31.75 kB / 1.135 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001267/0.814, allocations: 232 kB / 1.135 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001655/0.8142, allocations: 159.9 kB / 1.135 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01329/0.8275, allocations: 6.485 MB / 1.142 GB, free: 4.688 MB / 0.8887 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.04758/0.8751, allocations: 31.42 MB / 1.172 GB, free: 3.43 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006288/0.8814, allocations: 3.622 MB / 1.176 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/0.8826, allocations: 0.8358 MB / 1.177 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.78e-05/0.8827, allocations: 68.67 kB / 1.177 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=267): time 4.95e-06/0.8827, allocations: 0 / 1.177 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=267): time 0.01249/0.8952, allocations: 5.794 MB / 1.182 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.8953, allocations: 85.52 kB / 1.183 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01039/0.9057, allocations: 5.407 MB / 1.188 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0006364/0.9064, allocations: 73.7 kB / 1.188 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.002922/0.9093, allocations: 2.864 MB / 1.191 GB, free: 364 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001488/0.9108, allocations: 0.9437 MB / 1.192 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004202/0.9112, allocations: 68 kB / 1.192 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0003305/0.9116, allocations: 461.9 kB / 1.192 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003059/0.9146, allocations: 1.682 MB / 1.194 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004261/0.9189, allocations: 2.924 MB / 1.197 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003894/0.9228, allocations: 2.297 MB / 1.199 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.043e-05/0.9229, allocations: 12 kB / 1.199 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01025/0.9331, allocations: 5.445 MB / 1.204 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/0.9332, allocations: 31.94 kB / 1.204 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.143e-05/0.9333, allocations: 44 kB / 1.204 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.9343, allocations: 421.6 kB / 1.205 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003245/0.9376, allocations: 0.858 MB / 1.205 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005967/0.9436, allocations: 5.329 MB / 1.211 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00514/0.9488, allocations: 0.6781 MB / 1.211 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006468/0.9494, allocations: 176 kB / 1.212 GB, free: 10.09 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004802/0.9542, allocations: 2.292 MB / 1.214 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001666/0.9559, allocations: 494 kB / 1.214 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007966/0.9639, allocations: 4.208 MB / 1.218 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.056e-05/0.964, allocations: 27.94 kB / 1.218 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.964, allocations: 8 kB / 1.218 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005416/0.9694, allocations: 3.651 MB / 1.222 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01985/0.9893, allocations: 10.14 MB / 1.232 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/0.9894, allocations: 4 kB / 1.232 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002223/0.9916, allocations: 0.4993 MB / 1.232 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008736/0.9925, allocations: 371.8 kB / 1.233 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002981/0.9928, allocations: 75.95 kB / 1.233 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005906/0.9987, allocations: 5.257 MB / 1.238 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.9987, allocations: 4 kB / 1.238 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/1.01, allocations: 6.922 MB / 1.245 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003777/1.014, allocations: 1.249 MB / 1.246 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001501/1.015, allocations: 59.98 kB / 1.246 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004234/1.019, allocations: 342.6 kB / 1.246 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004435/1.02, allocations: 177.7 kB / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004326/1.02, allocations: 135.9 kB / 1.247 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.007682/1.028, allocations: 3.972 MB / 1.25 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.6e-07/1.028, allocations: 0 / 1.25 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.4983/1.526, allocations: 1.794 MB / 1.252 GB, free: 209.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001797/1.528, allocations: 486.6 kB / 1.253 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009256/1.537, allocations: 4.278 MB / 1.257 GB, free: 208.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.467e-05/1.537, allocations: 3.781 kB / 1.257 GB, free: 208.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003756/1.541, allocations: 2.057 MB / 1.259 GB, free: 207.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01702/1.558, allocations: 3.233 MB / 1.262 GB, free: 207.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02287/1.581, allocations: 14.66 MB / 1.276 GB, free: 199.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004208/1.585, allocations: 4.418 MB / 1.281 GB, free: 198.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006544/1.592, allocations: 1.891 MB / 1.282 GB, free: 198.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/1.593, allocations: 408.5 kB / 1.283 GB, free: 198 MB / 0.9981 GB Notification: Performance of SimCode: time 1.152e-06/1.593, allocations: 7.688 kB / 1.283 GB, free: 198 MB / 0.9981 GB Notification: Performance of Templates: time 0.1385/1.732, allocations: 108.7 MB / 1.389 GB, free: 97.75 MB / 0.9981 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","../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches