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.00103/0.00103, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.007461/0.007461, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.494/1.494, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.456/2.456, allocations: 390.9 MB / 0.6663 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004215/0.0004215, allocations: 8 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8717/0.8721, allocations: 142.4 MB / 0.955 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04767/0.9199, allocations: 47.99 MB / 1.002 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02079/0.9407, allocations: 13.67 MB / 1.015 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003564/0.9443, allocations: 63.62 kB / 1.015 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.9469, allocations: 0.6486 MB / 1.016 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007572/0.9544, allocations: 2.08 MB / 1.018 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003621/0.9581, allocations: 1.191 MB / 1.019 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02558/0.9837, allocations: 25.62 MB / 1.044 GB, free: 3.859 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01165/0.9954, allocations: 7.836 MB / 1.052 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01175/1.007, allocations: 4.695 MB / 1.056 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01103/1.018, allocations: 5.207 MB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001899/1.02, allocations: 308 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006011/1.026, allocations: 0.9905 MB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002467/1.029, allocations: 1.428 MB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.007825/1.036, allocations: 3.531 MB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01411/1.051, allocations: 11.24 MB / 1.079 GB, free: 420 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/1.051, allocations: 8 kB / 1.079 GB, free: 412 kB / 0.8262 GB Notification: Performance of FrontEnd: time 4.679e-06/1.051, allocations: 3.984 kB / 1.079 GB, free: 408 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0004131/1.051, allocations: 0 / 1.079 GB, free: 408 kB / 0.8262 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.01667/1.068, allocations: 6.223 MB / 1.085 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/1.068, allocations: 8.031 kB / 1.085 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00489/1.073, allocations: 0.7891 MB / 1.085 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01372/1.087, allocations: 6.244 MB / 1.092 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004256/1.087, allocations: 411.4 kB / 1.092 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001934/1.089, allocations: 0.5544 MB / 1.092 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.019/1.108, allocations: 8.065 MB / 1.1 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/1.108, allocations: 15.94 kB / 1.1 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007361/1.109, allocations: 239.9 kB / 1.101 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001747/1.109, allocations: 160 kB / 1.101 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01335/1.122, allocations: 6.532 MB / 1.107 GB, free: 2.781 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.04716/1.17, allocations: 31.17 MB / 1.138 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005758/1.175, allocations: 3.64 MB / 1.141 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004104/1.18, allocations: 2.827 MB / 1.144 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009932/1.181, allocations: 0.8436 MB / 1.145 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.32e-05/1.181, allocations: 72.67 kB / 1.145 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=267): time 4.258e-06/1.181, allocations: 3.938 kB / 1.145 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of matching and sorting (n=267): time 0.01135/1.192, allocations: 5.79 MB / 1.15 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/1.192, allocations: 81.5 kB / 1.15 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008668/1.201, allocations: 5.021 MB / 1.155 GB, free: 15.18 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0006513/1.201, allocations: 81.64 kB / 1.155 GB, free: 15.1 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002798/1.204, allocations: 2.872 MB / 1.158 GB, free: 12.2 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.00151/1.206, allocations: 0.932 MB / 1.159 GB, free: 11.25 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005126/1.206, allocations: 305.6 kB / 1.159 GB, free: 10.95 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.206, allocations: 313.1 kB / 1.16 GB, free: 10.64 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002716/1.209, allocations: 1.674 MB / 1.161 GB, free: 8.961 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003395/1.213, allocations: 2.924 MB / 1.164 GB, free: 5.484 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006476/1.219, allocations: 4.97 MB / 1.169 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-05/1.219, allocations: 8 kB / 1.169 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009509/1.229, allocations: 5.445 MB / 1.174 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.368e-05/1.229, allocations: 20 kB / 1.174 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.355e-05/1.229, allocations: 40 kB / 1.175 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000973/1.23, allocations: 416.1 kB / 1.175 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003013/1.233, allocations: 0.8657 MB / 1.176 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006453/1.239, allocations: 5.268 MB / 1.181 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00626/1.245, allocations: 0.6434 MB / 1.182 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005171/1.246, allocations: 187.9 kB / 1.182 GB, free: 2.711 MB / 0.9356 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.004722/1.251, allocations: 2.284 MB / 1.184 GB, free: 424 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001607/1.252, allocations: 482.4 kB / 1.184 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007109/1.259, allocations: 4.186 MB / 1.188 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.39e-05/1.26, allocations: 28 kB / 1.189 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/1.26, allocations: 7.938 kB / 1.189 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005163/1.265, allocations: 3.632 MB / 1.192 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01981/1.285, allocations: 10.21 MB / 1.202 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/1.285, allocations: 4 kB / 1.202 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002072/1.287, allocations: 0.5036 MB / 1.203 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008931/1.288, allocations: 380 kB / 1.203 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/1.288, allocations: 71.97 kB / 1.203 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005794/1.294, allocations: 5.194 MB / 1.208 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.176e-05/1.294, allocations: 11.94 kB / 1.208 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/1.304, allocations: 6.239 MB / 1.214 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003389/1.307, allocations: 1.164 MB / 1.215 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009007/1.308, allocations: 67.98 kB / 1.215 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003061/1.311, allocations: 329.1 kB / 1.216 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00034/1.312, allocations: 173.6 kB / 1.216 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002469/1.312, allocations: 131.9 kB / 1.216 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.006122/1.318, allocations: 3.683 MB / 1.22 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.21e-07/1.318, allocations: 0 / 1.22 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.006163/1.324, allocations: 1.785 MB / 1.221 GB, free: 9.348 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.001348/1.326, allocations: 497.5 kB / 1.222 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007162/1.333, allocations: 4.258 MB / 1.226 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.687e-06/1.333, allocations: 0 / 1.226 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002988/1.336, allocations: 2.042 MB / 1.228 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02136/1.357, allocations: 3.277 MB / 1.231 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02417/1.381, allocations: 15.12 MB / 1.246 GB, free: 80 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004478/1.386, allocations: 4.307 MB / 1.25 GB, free: 11.74 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.006712/1.393, allocations: 1.842 MB / 1.252 GB, free: 9.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001544/1.394, allocations: 415.2 kB / 1.252 GB, free: 9.504 MB / 1.014 GB Notification: Performance of SimCode: time 1.543e-06/1.394, allocations: 0 / 1.252 GB, free: 9.504 MB / 1.014 GB Notification: Performance of Templates: time 0.7533/2.148, allocations: 110.1 MB / 1.36 GB, free: 201.2 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