Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001582/0.001582, allocations: 103.2 kB / 16.27 MB, free: 6.414 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.001854/0.001854, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.206/2.206, allocations: 390.3 MB / 0.6653 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 65.17 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2866, allocations: 140.4 MB / 0.9503 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04676/0.3334, allocations: 49.31 MB / 0.9984 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01879/0.3523, allocations: 13.81 MB / 1.012 GB, free: 9.547 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002911/0.3552, allocations: 71.62 kB / 1.012 GB, free: 9.477 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002418/0.3577, allocations: 0.8109 MB / 1.013 GB, free: 8.66 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00665/0.3644, allocations: 2.254 MB / 1.015 GB, free: 6.395 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.3679, allocations: 1.309 MB / 1.016 GB, free: 5.094 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01844/0.3863, allocations: 19.58 MB / 1.035 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01207/0.3984, allocations: 9.906 MB / 1.045 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01278/0.4113, allocations: 6.483 MB / 1.051 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01072/0.422, allocations: 5.758 MB / 1.057 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003125/0.4252, allocations: 0.8477 MB / 1.058 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007071/0.4322, allocations: 1.596 MB / 1.059 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003933/0.4362, allocations: 2.127 MB / 1.061 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01028/0.4465, allocations: 4.279 MB / 1.066 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0162/0.4627, allocations: 11.93 MB / 1.077 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4628, allocations: 0 / 1.077 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4628, allocations: 0 / 1.077 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0004783/0.4633, allocations: 4 kB / 1.077 GB, free: 6.355 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.5723/1.036, allocations: 7.722 MB / 1.085 GB, free: 124.2 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/1.036, allocations: 8.969 kB / 1.085 GB, free: 124.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004347/1.04, allocations: 0.7893 MB / 1.086 GB, free: 123.9 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01342/1.053, allocations: 6.049 MB / 1.092 GB, free: 121.1 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007416/1.054, allocations: 413.5 kB / 1.092 GB, free: 120.9 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00229/1.057, allocations: 0.5391 MB / 1.092 GB, free: 120.7 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0233/1.08, allocations: 8.072 MB / 1.1 GB, free: 117.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003429/1.08, allocations: 18.88 kB / 1.1 GB, free: 117.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001889/1.082, allocations: 236.4 kB / 1.101 GB, free: 117.3 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002731/1.082, allocations: 168.2 kB / 1.101 GB, free: 117.3 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/1.099, allocations: 6.526 MB / 1.107 GB, free: 115.1 MB / 0.8575 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.04919/1.149, allocations: 31.44 MB / 1.138 GB, free: 91.56 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007429/1.156, allocations: 3.639 MB / 1.141 GB, free: 89.69 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004952/1.161, allocations: 2.809 MB / 1.144 GB, free: 88.38 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009976/1.162, allocations: 0.827 MB / 1.145 GB, free: 87.47 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.506e-05/1.162, allocations: 66.7 kB / 1.145 GB, free: 87.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=267): time 7.935e-06/1.162, allocations: 0 / 1.145 GB, free: 87.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=267): time 0.01212/1.174, allocations: 5.774 MB / 1.151 GB, free: 84.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/1.174, allocations: 80.27 kB / 1.151 GB, free: 84.26 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009417/1.184, allocations: 5.227 MB / 1.156 GB, free: 79.17 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0009063/1.185, allocations: 85.7 kB / 1.156 GB, free: 79.08 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.002615/1.187, allocations: 2.864 MB / 1.159 GB, free: 76.18 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001612/1.189, allocations: 0.9359 MB / 1.16 GB, free: 75.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001988/1.191, allocations: 0.7113 MB / 1.16 GB, free: 74.52 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.654e-05/1.191, allocations: 309.1 kB / 1.161 GB, free: 74.21 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002615/1.194, allocations: 1.67 MB / 1.162 GB, free: 72.54 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003129/1.197, allocations: 2.94 MB / 1.165 GB, free: 69.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005717/1.203, allocations: 4.962 MB / 1.17 GB, free: 63.49 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.488e-05/1.203, allocations: 16 kB / 1.17 GB, free: 63.47 MB / 0.8575 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01062/1.213, allocations: 5.434 MB / 1.175 GB, free: 57.98 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.919e-05/1.213, allocations: 26.03 kB / 1.175 GB, free: 57.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.132e-05/1.213, allocations: 44.12 kB / 1.175 GB, free: 57.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/1.215, allocations: 421.3 kB / 1.176 GB, free: 57.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004576/1.219, allocations: 0.858 MB / 1.177 GB, free: 56.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007134/1.227, allocations: 5.71 MB / 1.182 GB, free: 50.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005397/1.232, allocations: 0.5182 MB / 1.183 GB, free: 50.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000787/1.233, allocations: 188 kB / 1.183 GB, free: 49.96 MB / 0.8575 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.005058/1.238, allocations: 2.284 MB / 1.185 GB, free: 47.66 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00223/1.24, allocations: 490.1 kB / 1.186 GB, free: 47.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007771/1.248, allocations: 4.177 MB / 1.19 GB, free: 42.95 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.914e-05/1.248, allocations: 32 kB / 1.19 GB, free: 42.92 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.991e-05/1.248, allocations: 8 kB / 1.19 GB, free: 42.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004643/1.253, allocations: 3.632 MB / 1.193 GB, free: 39.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02061/1.273, allocations: 10.29 MB / 1.203 GB, free: 28.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/1.273, allocations: 4 kB / 1.203 GB, free: 28.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/1.276, allocations: 0.4998 MB / 1.204 GB, free: 28.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008067/1.276, allocations: 368.2 kB / 1.204 GB, free: 27.83 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003352/1.277, allocations: 79.95 kB / 1.204 GB, free: 27.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00459/1.281, allocations: 5.639 MB / 1.21 GB, free: 21.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.281, allocations: 8 kB / 1.21 GB, free: 21.83 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/1.292, allocations: 6.251 MB / 1.216 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003515/1.296, allocations: 1.096 MB / 1.217 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001781/1.297, allocations: 59.98 kB / 1.217 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003937/1.301, allocations: 178.2 kB / 1.217 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004397/1.302, allocations: 169.6 kB / 1.217 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004568/1.302, allocations: 136.6 kB / 1.217 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.007481/1.31, allocations: 3.843 MB / 1.221 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.41e-07/1.31, allocations: 0 / 1.221 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.008136/1.318, allocations: 1.791 MB / 1.223 GB, free: 8.152 MB / 0.8575 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.001974/1.32, allocations: 0.4918 MB / 1.223 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0148/1.335, allocations: 8.072 MB / 1.231 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/1.335, allocations: 4 kB / 1.231 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.004143/1.339, allocations: 2.039 MB / 1.233 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02297/1.362, allocations: 3.468 MB / 1.237 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0296/1.392, allocations: 12.67 MB / 1.249 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006316/1.398, allocations: 4.235 MB / 1.253 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002001/1.4, allocations: 439.3 kB / 1.254 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of SimCode: time 1.293e-06/1.4, allocations: 4 kB / 1.254 GB, free: 8.754 MB / 0.8887 GB Notification: Performance of Templates: time 0.2591/1.659, allocations: 173.7 MB / 1.423 GB, free: 11.44 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches