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.001402/0.001402, allocations: 104.1 kB / 16.35 MB, free: 5.828 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.001575/0.001575, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.597/2.597, allocations: 442.5 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 64.66 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3881, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04898/0.4371, allocations: 49.32 MB / 1.075 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7336/1.171, allocations: 13.8 MB / 1.088 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004427/1.175, allocations: 67.28 kB / 1.088 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003931/1.179, allocations: 0.808 MB / 1.089 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01506/1.194, allocations: 2.254 MB / 1.091 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0057/1.2, allocations: 1.306 MB / 1.093 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02873/1.229, allocations: 19.6 MB / 1.112 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02121/1.25, allocations: 9.912 MB / 1.121 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02516/1.275, allocations: 6.51 MB / 1.128 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01739/1.293, allocations: 5.767 MB / 1.133 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.004404/1.297, allocations: 0.8443 MB / 1.134 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01026/1.308, allocations: 1.603 MB / 1.136 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.005887/1.313, allocations: 2.117 MB / 1.138 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.01431/1.328, allocations: 4.293 MB / 1.142 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.02199/1.35, allocations: 12.05 MB / 1.154 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/1.35, allocations: 0 / 1.154 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.184e-06/1.35, allocations: 0 / 1.154 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0005325/1.35, allocations: 2.5 kB / 1.154 GB, free: 1.383 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.0277/1.378, allocations: 7.726 MB / 1.161 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/1.378, allocations: 8.031 kB / 1.161 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005938/1.384, allocations: 0.793 MB / 1.162 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01792/1.402, allocations: 6.312 MB / 1.168 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006595/1.403, allocations: 414.8 kB / 1.169 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003241/1.406, allocations: 0.5422 MB / 1.169 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02428/1.43, allocations: 8.076 MB / 1.177 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003186/1.431, allocations: 19.78 kB / 1.177 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002356/1.433, allocations: 232 kB / 1.177 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002238/1.433, allocations: 168 kB / 1.178 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0171/1.45, allocations: 6.524 MB / 1.184 GB, free: 4.367 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.05773/1.508, allocations: 31.2 MB / 1.214 GB, free: 3.586 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006853/1.515, allocations: 3.649 MB / 1.218 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00474/1.52, allocations: 2.798 MB / 1.221 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/1.521, allocations: 0.8357 MB / 1.222 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/1.521, allocations: 76.61 kB / 1.222 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=267): time 1.059e-05/1.521, allocations: 0 / 1.222 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=267): time 0.01382/1.535, allocations: 5.766 MB / 1.227 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/1.535, allocations: 89.45 kB / 1.227 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01304/1.548, allocations: 5.227 MB / 1.232 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0009093/1.549, allocations: 81.7 kB / 1.233 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.003648/1.553, allocations: 2.879 MB / 1.235 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002072/1.555, allocations: 0.9366 MB / 1.236 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002581/1.557, allocations: 0.7113 MB / 1.237 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.558, allocations: 305.1 kB / 1.237 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003324/1.561, allocations: 1.686 MB / 1.239 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004383/1.565, allocations: 2.924 MB / 1.242 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008997/1.574, allocations: 4.966 MB / 1.247 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.505e-05/1.574, allocations: 12 kB / 1.247 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01633/1.591, allocations: 5.44 MB / 1.252 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/1.591, allocations: 24 kB / 1.252 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001708/1.591, allocations: 40 kB / 1.252 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/1.593, allocations: 417.6 kB / 1.252 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003936/1.597, allocations: 0.858 MB / 1.253 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007168/1.604, allocations: 5.703 MB / 1.259 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006541/1.61, allocations: 0.5223 MB / 1.259 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/1.611, allocations: 180 kB / 1.259 GB, free: 3.793 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 (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.006339/1.618, allocations: 2.28 MB / 1.262 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002552/1.62, allocations: 486.1 kB / 1.262 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009958/1.63, allocations: 4.184 MB / 1.266 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.362e-05/1.63, allocations: 28.12 kB / 1.266 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.259e-05/1.63, allocations: 8 kB / 1.266 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006056/1.636, allocations: 3.635 MB / 1.27 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02674/1.663, allocations: 10.26 MB / 1.28 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/1.663, allocations: 8 kB / 1.28 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002433/1.666, allocations: 0.5037 MB / 1.28 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000928/1.667, allocations: 373.3 kB / 1.281 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003685/1.667, allocations: 75.95 kB / 1.281 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00676/1.674, allocations: 5.627 MB / 1.286 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/1.674, allocations: 7.938 kB / 1.286 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/1.689, allocations: 6.256 MB / 1.292 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004692/1.694, allocations: 1.092 MB / 1.293 GB, free: 224 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002173/1.696, allocations: 67.92 kB / 1.294 GB, free: 156 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005027/1.701, allocations: 179.8 kB / 1.294 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006318/1.702, allocations: 173.6 kB / 1.294 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006154/1.703, allocations: 127.8 kB / 1.294 GB, free: 15.68 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.009659/1.712, allocations: 3.847 MB / 1.298 GB, free: 11.85 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.41e-07/1.712, allocations: 0 / 1.298 GB, free: 11.85 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.008569/1.721, allocations: 1.796 MB / 1.299 GB, free: 10.05 MB / 1.014 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.001786/1.723, allocations: 492.8 kB / 1.3 GB, free: 9.582 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008147/1.731, allocations: 4.282 MB / 1.304 GB, free: 5.258 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/1.731, allocations: 4.781 kB / 1.304 GB, free: 5.254 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00346/1.734, allocations: 2.035 MB / 1.306 GB, free: 3.188 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01886/1.753, allocations: 3.453 MB / 1.31 GB, free: 15.83 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03033/1.784, allocations: 12.48 MB / 1.322 GB, free: 3.293 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007907/1.792, allocations: 4.309 MB / 1.326 GB, free: 14.95 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.008059/1.8, allocations: 1.856 MB / 1.328 GB, free: 13.11 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002273/1.802, allocations: 419.3 kB / 1.328 GB, free: 12.7 MB / 1.045 GB Notification: Performance of SimCode: time 1.723e-06/1.802, allocations: 0 / 1.328 GB, free: 12.7 MB / 1.045 GB Notification: Performance of Templates: time 0.1878/1.99, allocations: 111.7 MB / 1.437 GB, free: 14.06 MB / 1.154 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 -s cvode -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