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.001551/0.001551, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.427/1.427, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.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.497/2.497, allocations: 390.2 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 71.88 kB / 0.8125 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8816/0.8831, allocations: 140.4 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05139/0.9346, allocations: 49.3 MB / 0.9977 GB, free: 384 kB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02185/0.9564, allocations: 13.82 MB / 1.011 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004026/0.9605, allocations: 67.62 kB / 1.011 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003169/0.9638, allocations: 0.8031 MB / 1.012 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007969/0.9718, allocations: 2.262 MB / 1.014 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004026/0.9758, allocations: 1.299 MB / 1.016 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02213/0.998, allocations: 19.58 MB / 1.035 GB, free: 10.45 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01391/1.012, allocations: 9.898 MB / 1.044 GB, free: 436 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01474/1.027, allocations: 6.504 MB / 1.051 GB, free: 9.945 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01083/1.038, allocations: 5.747 MB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.003045/1.041, allocations: 0.8515 MB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009945/1.051, allocations: 1.604 MB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.005859/1.057, allocations: 2.111 MB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.01263/1.069, allocations: 4.287 MB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01813/1.087, allocations: 11.93 MB / 1.077 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/1.087, allocations: 0 / 1.077 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.154e-06/1.087, allocations: 0 / 1.077 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0004926/1.088, allocations: 0 / 1.077 GB, free: 15.33 MB / 0.8419 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.02296/1.111, allocations: 7.729 MB / 1.084 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/1.111, allocations: 8.031 kB / 1.084 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004412/1.115, allocations: 0.7891 MB / 1.085 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01305/1.128, allocations: 6.038 MB / 1.091 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003704/1.129, allocations: 415.4 kB / 1.091 GB, free: 216 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001961/1.131, allocations: 0.5428 MB / 1.092 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01879/1.15, allocations: 8.076 MB / 1.1 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00013/1.15, allocations: 23.78 kB / 1.1 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007142/1.151, allocations: 236 kB / 1.1 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001628/1.151, allocations: 164 kB / 1.1 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/1.165, allocations: 6.528 MB / 1.106 GB, free: 408 kB / 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.05738/1.223, allocations: 31.44 MB / 1.137 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005669/1.228, allocations: 3.645 MB / 1.141 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003957/1.232, allocations: 2.815 MB / 1.143 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/1.233, allocations: 0.828 MB / 1.144 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.435e-05/1.234, allocations: 72.59 kB / 1.144 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=267): time 4.318e-06/1.234, allocations: 8 kB / 1.144 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of matching and sorting (n=267): time 0.01151/1.245, allocations: 5.759 MB / 1.15 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/1.245, allocations: 81.52 kB / 1.15 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009467/1.255, allocations: 5.231 MB / 1.155 GB, free: 12.39 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0008193/1.256, allocations: 81.7 kB / 1.155 GB, free: 12.3 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002745/1.258, allocations: 2.864 MB / 1.158 GB, free: 9.41 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001671/1.26, allocations: 0.9398 MB / 1.159 GB, free: 8.457 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/1.261, allocations: 0.7113 MB / 1.16 GB, free: 7.738 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.261, allocations: 305.1 kB / 1.16 GB, free: 7.438 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002548/1.264, allocations: 1.678 MB / 1.162 GB, free: 5.758 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003399/1.267, allocations: 2.932 MB / 1.164 GB, free: 2.27 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006666/1.274, allocations: 4.962 MB / 1.169 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.539e-05/1.274, allocations: 12 kB / 1.169 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01036/1.284, allocations: 5.434 MB / 1.175 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/1.284, allocations: 28.25 kB / 1.175 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.903e-05/1.284, allocations: 43.98 kB / 1.175 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009989/1.285, allocations: 419.4 kB / 1.175 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003163/1.289, allocations: 0.8618 MB / 1.176 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005844/1.294, allocations: 5.701 MB / 1.181 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00511/1.3, allocations: 0.5223 MB / 1.182 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007042/1.3, allocations: 180 kB / 1.182 GB, free: 15.18 MB / 0.9512 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.004806/1.305, allocations: 2.284 MB / 1.184 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001844/1.307, allocations: 486.1 kB / 1.185 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007304/1.314, allocations: 4.197 MB / 1.189 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.152e-05/1.314, allocations: 24 kB / 1.189 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/1.314, allocations: 4 kB / 1.189 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005002/1.319, allocations: 3.624 MB / 1.192 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02109/1.34, allocations: 10.3 MB / 1.203 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/1.341, allocations: 7.938 kB / 1.203 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002168/1.343, allocations: 0.4998 MB / 1.203 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008814/1.344, allocations: 371.2 kB / 1.203 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002053/1.344, allocations: 79.95 kB / 1.203 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005478/1.349, allocations: 5.639 MB / 1.209 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.349, allocations: 8 kB / 1.209 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01049/1.36, allocations: 6.248 MB / 1.215 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003434/1.363, allocations: 1.092 MB / 1.216 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001301/1.365, allocations: 59.94 kB / 1.216 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00316/1.368, allocations: 183.8 kB / 1.216 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003773/1.368, allocations: 173.6 kB / 1.217 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002742/1.368, allocations: 131.9 kB / 1.217 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.006674/1.375, allocations: 3.835 MB / 1.22 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.31e-07/1.375, allocations: 0 / 1.22 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.007371/1.383, allocations: 1.8 MB / 1.222 GB, free: 5.336 MB / 0.9825 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.001443/1.384, allocations: 486.4 kB / 1.223 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01496/1.399, allocations: 8.074 MB / 1.231 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/1.399, allocations: 4 kB / 1.231 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003139/1.402, allocations: 2.038 MB / 1.233 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01772/1.42, allocations: 3.469 MB / 1.236 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02119/1.441, allocations: 12.63 MB / 1.248 GB, free: 10.63 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004267/1.445, allocations: 4.307 MB / 1.252 GB, free: 6.289 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.007155/1.453, allocations: 1.857 MB / 1.254 GB, free: 4.445 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/1.454, allocations: 419.2 kB / 1.255 GB, free: 4.035 MB / 1.014 GB Notification: Performance of SimCode: time 1.213e-06/1.454, allocations: 0 / 1.255 GB, free: 4.035 MB / 1.014 GB Notification: Performance of Templates: time 0.6801/2.134, allocations: 117 MB / 1.369 GB, free: 191.4 MB / 1.014 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches