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.008234/0.008234, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.002011/0.002011, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.287/2.287, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.91 kB / 0.9508 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.1, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05749/1.157, allocations: 49.3 MB / 1.136 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02484/1.182, allocations: 13.83 MB / 1.15 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005079/1.187, allocations: 67.28 kB / 1.15 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003973/1.191, allocations: 0.8019 MB / 1.15 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01036/1.202, allocations: 2.263 MB / 1.153 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00553/1.207, allocations: 1.306 MB / 1.154 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.03085/1.238, allocations: 19.59 MB / 1.173 GB, free: 12.3 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01781/1.256, allocations: 9.907 MB / 1.183 GB, free: 6.91 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02089/1.277, allocations: 6.514 MB / 1.189 GB, free: 3.371 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0158/1.293, allocations: 5.759 MB / 1.195 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.004453/1.297, allocations: 0.8515 MB / 1.196 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01008/1.308, allocations: 1.604 MB / 1.197 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.005335/1.313, allocations: 2.115 MB / 1.199 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01304/1.326, allocations: 4.287 MB / 1.203 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01971/1.346, allocations: 12.07 MB / 1.215 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/1.346, allocations: 0 / 1.215 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.084e-06/1.346, allocations: 0 / 1.215 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0004894/1.346, allocations: 0 / 1.215 GB, free: 11.67 MB / 0.9512 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.02481/1.371, allocations: 7.725 MB / 1.223 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/1.371, allocations: 12.03 kB / 1.223 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005116/1.376, allocations: 0.7853 MB / 1.223 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.014/1.39, allocations: 6.307 MB / 1.23 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004013/1.391, allocations: 415.4 kB / 1.23 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002134/1.393, allocations: 0.5467 MB / 1.231 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01925/1.412, allocations: 8.065 MB / 1.238 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/1.412, allocations: 15.88 kB / 1.238 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009442/1.413, allocations: 240 kB / 1.239 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001803/1.414, allocations: 171.8 kB / 1.239 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/1.428, allocations: 6.524 MB / 1.245 GB, free: 12.48 MB / 0.9825 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.05641/1.485, allocations: 31.21 MB / 1.276 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00699/1.492, allocations: 3.636 MB / 1.279 GB, free: 7.805 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004207/1.496, allocations: 2.8 MB / 1.282 GB, free: 4.996 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/1.497, allocations: 0.8241 MB / 1.283 GB, free: 4.004 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.137e-05/1.497, allocations: 72.67 kB / 1.283 GB, free: 3.922 MB / 1.014 GB Notification: Performance of pre-optimization done (n=267): time 5.56e-06/1.497, allocations: 4 kB / 1.283 GB, free: 3.918 MB / 1.014 GB Notification: Performance of matching and sorting (n=267): time 0.01145/1.509, allocations: 5.759 MB / 1.288 GB, free: 14.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/1.509, allocations: 81.5 kB / 1.289 GB, free: 13.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009689/1.519, allocations: 5.239 MB / 1.294 GB, free: 8.723 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0008523/1.52, allocations: 73.7 kB / 1.294 GB, free: 8.645 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.002874/1.522, allocations: 2.86 MB / 1.296 GB, free: 5.754 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001773/1.524, allocations: 0.9437 MB / 1.297 GB, free: 4.797 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001148/1.525, allocations: 0.7152 MB / 1.298 GB, free: 4.074 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.526, allocations: 305.1 kB / 1.298 GB, free: 3.773 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00266/1.528, allocations: 1.674 MB / 1.3 GB, free: 2.098 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003622/1.532, allocations: 2.94 MB / 1.303 GB, free: 14.6 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006802/1.539, allocations: 4.962 MB / 1.308 GB, free: 9.047 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.471e-05/1.539, allocations: 11.94 kB / 1.308 GB, free: 9.035 MB / 1.045 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0101/1.549, allocations: 5.438 MB / 1.313 GB, free: 3.543 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/1.549, allocations: 24.25 kB / 1.313 GB, free: 3.52 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.812e-05/1.549, allocations: 40 kB / 1.313 GB, free: 3.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/1.55, allocations: 421.3 kB / 1.314 GB, free: 3.062 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003196/1.553, allocations: 0.8619 MB / 1.314 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007296/1.56, allocations: 5.697 MB / 1.32 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005579/1.566, allocations: 0.5145 MB / 1.32 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006195/1.567, allocations: 184 kB / 1.321 GB, free: 11.53 MB / 1.061 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.00484/1.572, allocations: 2.286 MB / 1.323 GB, free: 9.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00197/1.574, allocations: 494 kB / 1.323 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007349/1.581, allocations: 4.177 MB / 1.327 GB, free: 4.508 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-05/1.581, allocations: 31.98 kB / 1.327 GB, free: 4.477 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/1.581, allocations: 4 kB / 1.327 GB, free: 4.473 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005123/1.586, allocations: 3.635 MB / 1.331 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02045/1.607, allocations: 10.26 MB / 1.341 GB, free: 6.293 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/1.607, allocations: 4 kB / 1.341 GB, free: 6.289 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002132/1.609, allocations: 0.5038 MB / 1.342 GB, free: 5.785 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008655/1.61, allocations: 374.7 kB / 1.342 GB, free: 5.414 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001747/1.61, allocations: 71.97 kB / 1.342 GB, free: 5.344 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006287/1.616, allocations: 5.644 MB / 1.347 GB, free: 15.42 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.616, allocations: 4 kB / 1.347 GB, free: 15.42 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/1.627, allocations: 6.25 MB / 1.354 GB, free: 8.992 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003559/1.63, allocations: 1.084 MB / 1.355 GB, free: 7.883 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/1.631, allocations: 67.92 kB / 1.355 GB, free: 7.816 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002721/1.634, allocations: 183.7 kB / 1.355 GB, free: 7.637 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003374/1.634, allocations: 173.6 kB / 1.355 GB, free: 7.469 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002666/1.635, allocations: 127.9 kB / 1.355 GB, free: 7.344 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.006417/1.641, allocations: 3.835 MB / 1.359 GB, free: 3.523 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.71e-07/1.641, allocations: 4 kB / 1.359 GB, free: 3.52 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.006828/1.648, allocations: 1.804 MB / 1.361 GB, free: 1.711 MB / 1.092 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.001495/1.649, allocations: 499.5 kB / 1.361 GB, free: 1.227 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.007226/1.657, allocations: 4.282 MB / 1.365 GB, free: 12.9 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/1.657, allocations: 4 kB / 1.365 GB, free: 12.9 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003061/1.66, allocations: 2.035 MB / 1.367 GB, free: 10.83 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01642/1.676, allocations: 3.451 MB / 1.371 GB, free: 7.477 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02064/1.697, allocations: 12.48 MB / 1.383 GB, free: 10.92 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004299/1.701, allocations: 4.303 MB / 1.387 GB, free: 6.582 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.00595/1.707, allocations: 1.854 MB / 1.389 GB, free: 4.738 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/1.708, allocations: 419.2 kB / 1.389 GB, free: 4.328 MB / 1.123 GB Notification: Performance of SimCode: time 1.001e-06/1.708, allocations: 0 / 1.389 GB, free: 4.328 MB / 1.123 GB Notification: Performance of Templates: time 0.183/1.891, allocations: 113.2 MB / 1.5 GB, free: 3.961 MB / 1.232 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