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.001437/0.001437, allocations: 105.5 kB / 16.41 MB, free: 6.488 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.001594/0.001594, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.377/1.377, 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 9.1.3-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 71.88 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9544/0.9557, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05654/1.012, allocations: 49.3 MB / 1.137 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0293/1.042, allocations: 13.82 MB / 1.15 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007829/1.05, allocations: 71.97 kB / 1.15 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.005929/1.056, allocations: 0.8054 MB / 1.151 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01211/1.068, allocations: 2.256 MB / 1.153 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005258/1.073, allocations: 1.31 MB / 1.155 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.03817/1.111, allocations: 19.6 MB / 1.174 GB, free: 12.3 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02706/1.138, allocations: 9.908 MB / 1.183 GB, free: 6.891 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02287/1.161, allocations: 6.582 MB / 1.19 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01699/1.178, allocations: 5.747 MB / 1.195 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.005431/1.184, allocations: 0.8438 MB / 1.196 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01249/1.196, allocations: 1.619 MB / 1.198 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.006632/1.203, allocations: 2.127 MB / 1.2 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01638/1.219, allocations: 4.283 MB / 1.204 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02501/1.245, allocations: 12.06 MB / 1.216 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.158e-05/1.245, allocations: 0 / 1.216 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.727e-06/1.245, allocations: 0 / 1.216 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0006127/1.245, allocations: 0 / 1.216 GB, free: 11.62 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.02951/1.275, allocations: 7.729 MB / 1.223 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 8.909e-05/1.275, allocations: 12.03 kB / 1.223 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006062/1.281, allocations: 0.7775 MB / 1.224 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01932/1.3, allocations: 6.316 MB / 1.23 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006005/1.301, allocations: 415.4 kB / 1.231 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002614/1.304, allocations: 0.5466 MB / 1.231 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02593/1.33, allocations: 8.072 MB / 1.239 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005305/1.33, allocations: 15.88 kB / 1.239 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002717/1.333, allocations: 236 kB / 1.239 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002824/1.333, allocations: 167.9 kB / 1.24 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01728/1.351, allocations: 6.52 MB / 1.246 GB, free: 12.43 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.0587/1.409, allocations: 31.21 MB / 1.276 GB, free: 11.39 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007778/1.417, allocations: 3.64 MB / 1.28 GB, free: 7.754 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005302/1.422, allocations: 2.804 MB / 1.283 GB, free: 4.941 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/1.424, allocations: 0.8241 MB / 1.284 GB, free: 3.949 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/1.424, allocations: 76.66 kB / 1.284 GB, free: 3.863 MB / 1.014 GB Notification: Performance of pre-optimization done (n=267): time 8.917e-06/1.424, allocations: 0 / 1.284 GB, free: 3.863 MB / 1.014 GB Notification: Performance of matching and sorting (n=267): time 0.01501/1.439, allocations: 5.759 MB / 1.289 GB, free: 14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/1.439, allocations: 77.52 kB / 1.289 GB, free: 13.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01199/1.451, allocations: 5.239 MB / 1.294 GB, free: 8.672 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0008829/1.452, allocations: 77.7 kB / 1.294 GB, free: 8.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.003288/1.455, allocations: 2.864 MB / 1.297 GB, free: 5.695 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001871/1.457, allocations: 0.9437 MB / 1.298 GB, free: 4.738 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001412/1.459, allocations: 0.7113 MB / 1.299 GB, free: 4.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001886/1.459, allocations: 309 kB / 1.299 GB, free: 3.715 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002951/1.462, allocations: 1.67 MB / 1.301 GB, free: 2.043 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003798/1.466, allocations: 2.936 MB / 1.304 GB, free: 14.55 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007895/1.474, allocations: 4.962 MB / 1.309 GB, free: 8.996 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.109e-05/1.474, allocations: 16 kB / 1.309 GB, free: 8.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01243/1.486, allocations: 5.43 MB / 1.314 GB, free: 3.496 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.542e-05/1.486, allocations: 20 kB / 1.314 GB, free: 3.477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-05/1.486, allocations: 44.16 kB / 1.314 GB, free: 3.434 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/1.487, allocations: 425.3 kB / 1.314 GB, free: 3.012 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003666/1.491, allocations: 0.8618 MB / 1.315 GB, free: 2.148 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00712/1.498, allocations: 5.699 MB / 1.321 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005984/1.504, allocations: 0.5145 MB / 1.321 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/1.505, allocations: 187.9 kB / 1.321 GB, free: 11.47 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.005929/1.511, allocations: 2.276 MB / 1.324 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002295/1.513, allocations: 494.1 kB / 1.324 GB, free: 8.695 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008436/1.522, allocations: 4.18 MB / 1.328 GB, free: 4.457 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.97e-05/1.522, allocations: 28 kB / 1.328 GB, free: 4.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.522, allocations: 4 kB / 1.328 GB, free: 4.426 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005878/1.528, allocations: 3.631 MB / 1.332 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02372/1.552, allocations: 10.27 MB / 1.342 GB, free: 6.242 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/1.552, allocations: 4 kB / 1.342 GB, free: 6.238 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002307/1.554, allocations: 0.5037 MB / 1.342 GB, free: 5.734 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000975/1.555, allocations: 374.5 kB / 1.343 GB, free: 5.363 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000314/1.555, allocations: 75.95 kB / 1.343 GB, free: 5.289 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00625/1.562, allocations: 5.635 MB / 1.348 GB, free: 15.37 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.562, allocations: 8 kB / 1.348 GB, free: 15.36 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/1.573, allocations: 6.252 MB / 1.354 GB, free: 8.938 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003682/1.576, allocations: 1.088 MB / 1.355 GB, free: 7.824 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00157/1.578, allocations: 67.92 kB / 1.355 GB, free: 7.758 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003779/1.582, allocations: 183.5 kB / 1.356 GB, free: 7.578 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003592/1.582, allocations: 173.6 kB / 1.356 GB, free: 7.41 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000337/1.583, allocations: 128 kB / 1.356 GB, free: 7.285 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.007251/1.59, allocations: 3.839 MB / 1.36 GB, free: 3.461 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.6e-07/1.59, allocations: 0 / 1.36 GB, free: 3.461 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.007336/1.597, allocations: 1.804 MB / 1.361 GB, free: 1.652 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.001549/1.599, allocations: 493.3 kB / 1.362 GB, free: 1.176 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006978/1.606, allocations: 4.28 MB / 1.366 GB, free: 12.85 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/1.606, allocations: 5.812 kB / 1.366 GB, free: 12.85 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003047/1.609, allocations: 2.035 MB / 1.368 GB, free: 10.78 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01749/1.626, allocations: 3.455 MB / 1.371 GB, free: 7.422 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.024/1.65, allocations: 12.52 MB / 1.384 GB, free: 10.82 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004395/1.655, allocations: 4.232 MB / 1.388 GB, free: 6.559 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002027/1.657, allocations: 451.2 kB / 1.388 GB, free: 6.117 MB / 1.123 GB Notification: Performance of SimCode: time 1.292e-06/1.657, allocations: 0 / 1.388 GB, free: 6.117 MB / 1.123 GB Notification: Performance of Templates: time 0.2586/1.916, allocations: 174.3 MB / 1.558 GB, free: 8.129 MB / 1.295 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches