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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001158/0.001158, 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.001246/0.001246, allocations: 197 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.371/1.371, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.742/2.742, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 65.77 kB / 0.8984 GB, free: 37.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3736, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05045/0.4241, allocations: 49 MB / 1.1 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02211/0.4462, allocations: 13.83 MB / 1.113 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003555/0.4498, allocations: 63.62 kB / 1.114 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00313/0.453, allocations: 0.6564 MB / 1.114 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.008079/0.4612, allocations: 2.084 MB / 1.116 GB, free: 7 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004279/0.4655, allocations: 1.175 MB / 1.117 GB, free: 5.832 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.03077/0.4963, allocations: 25.64 MB / 1.142 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01637/0.5127, allocations: 8.079 MB / 1.15 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0132/0.5259, allocations: 4.996 MB / 1.155 GB, free: 14.9 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01276/0.5387, allocations: 5.598 MB / 1.161 GB, free: 9.281 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.003212/0.542, allocations: 420 kB / 1.161 GB, free: 8.871 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007991/0.55, allocations: 1.1 MB / 1.162 GB, free: 7.77 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.004948/0.555, allocations: 1.627 MB / 1.164 GB, free: 6.137 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01175/0.5668, allocations: 3.748 MB / 1.167 GB, free: 2.371 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01849/0.5854, allocations: 11.57 MB / 1.179 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.5854, allocations: 7.938 kB / 1.179 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.953e-06/0.5854, allocations: 0 / 1.179 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0005513/0.586, allocations: 0 / 1.179 GB, free: 6.762 MB / 0.9356 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.02618/0.6122, allocations: 7.717 MB / 1.186 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.6123, allocations: 8.031 kB / 1.186 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005261/0.6175, allocations: 0.7814 MB / 1.187 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01755/0.6351, allocations: 6.243 MB / 1.193 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006779/0.6359, allocations: 411.4 kB / 1.193 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003395/0.6393, allocations: 0.5467 MB / 1.194 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02445/0.6638, allocations: 8.076 MB / 1.202 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003264/0.6642, allocations: 19.78 kB / 1.202 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002261/0.6665, allocations: 236 kB / 1.202 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002396/0.6667, allocations: 167.9 kB / 1.202 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01736/0.6841, allocations: 6.52 MB / 1.209 GB, free: 7.652 MB / 0.9669 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.05619/0.7403, allocations: 31.12 MB / 1.239 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007123/0.7475, allocations: 3.647 MB / 1.243 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005328/0.7529, allocations: 2.811 MB / 1.245 GB, free: 240 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7444/1.497, allocations: 0.8299 MB / 1.246 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/1.498, allocations: 69.31 kB / 1.246 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=267): time 5.75e-06/1.498, allocations: 0 / 1.246 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=267): time 0.0138/1.511, allocations: 5.76 MB / 1.252 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/1.511, allocations: 81.08 kB / 1.252 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009359/1.521, allocations: 5.022 MB / 1.257 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008282/1.522, allocations: 82.8 kB / 1.257 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002693/1.524, allocations: 2.873 MB / 1.26 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001651/1.526, allocations: 0.9365 MB / 1.261 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001423/1.527, allocations: 0.7137 MB / 1.261 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.184e-05/1.528, allocations: 306.4 kB / 1.262 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003617/1.531, allocations: 1.673 MB / 1.263 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004227/1.535, allocations: 2.936 MB / 1.266 GB, free: 172 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008393/1.544, allocations: 4.962 MB / 1.271 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.916e-05/1.544, allocations: 11.38 kB / 1.271 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01181/1.556, allocations: 5.439 MB / 1.276 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-05/1.556, allocations: 22.91 kB / 1.276 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.439e-05/1.556, allocations: 40.84 kB / 1.276 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/1.557, allocations: 422.5 kB / 1.277 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00363/1.561, allocations: 0.8574 MB / 1.278 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005554/1.566, allocations: 5.261 MB / 1.283 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005757/1.572, allocations: 0.6469 MB / 1.283 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009062/1.573, allocations: 185.1 kB / 1.284 GB, free: 162.7 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.005161/1.578, allocations: 2.291 MB / 1.286 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002184/1.58, allocations: 487.1 kB / 1.286 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007421/1.588, allocations: 4.175 MB / 1.29 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/1.588, allocations: 31.66 kB / 1.29 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.588, allocations: 3.938 kB / 1.29 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004307/1.592, allocations: 3.637 MB / 1.294 GB, free: 158.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01945/1.612, allocations: 10.21 MB / 1.304 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/1.612, allocations: 3.75 kB / 1.304 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/1.614, allocations: 0.4956 MB / 1.304 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008587/1.615, allocations: 367.4 kB / 1.305 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000299/1.615, allocations: 84.36 kB / 1.305 GB, free: 152 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004616/1.62, allocations: 5.205 MB / 1.31 GB, free: 147 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.62, allocations: 8 kB / 1.31 GB, free: 147 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009451/1.629, allocations: 6.245 MB / 1.316 GB, free: 140.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003248/1.632, allocations: 1.084 MB / 1.317 GB, free: 139.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001545/1.634, allocations: 63.98 kB / 1.317 GB, free: 139.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004158/1.638, allocations: 326.2 kB / 1.317 GB, free: 139.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003843/1.639, allocations: 177.5 kB / 1.318 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003813/1.639, allocations: 128.8 kB / 1.318 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006811/1.646, allocations: 3.687 MB / 1.321 GB, free: 135.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.31e-07/1.646, allocations: 0 / 1.321 GB, free: 135.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.008154/1.654, allocations: 1.779 MB / 1.323 GB, free: 133.4 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.001786/1.656, allocations: 491 kB / 1.323 GB, free: 132.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007323/1.663, allocations: 4.255 MB / 1.328 GB, free: 128.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/1.663, allocations: 4 kB / 1.328 GB, free: 128.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002848/1.666, allocations: 2.039 MB / 1.33 GB, free: 126.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01689/1.683, allocations: 3.281 MB / 1.333 GB, free: 123.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02302/1.706, allocations: 14.9 MB / 1.347 GB, free: 108.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005317/1.711, allocations: 4.307 MB / 1.352 GB, free: 104.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.007/1.718, allocations: 1.841 MB / 1.353 GB, free: 102.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001859/1.72, allocations: 415.2 kB / 1.354 GB, free: 101.9 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/1.72, allocations: 4 kB / 1.354 GB, free: 101.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.1482/1.868, allocations: 110.9 MB / 1.462 GB, free: 8.008 MB / 1.014 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches