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.008673/0.008673, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001957/0.001957, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.311/2.311, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.91 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9889/0.9902, 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.055/1.045, allocations: 49.3 MB / 1.136 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02331/1.069, allocations: 13.82 MB / 1.15 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003702/1.072, allocations: 72.75 kB / 1.15 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002794/1.075, allocations: 0.8257 MB / 1.15 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009738/1.085, allocations: 2.357 MB / 1.153 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004663/1.09, allocations: 1.306 MB / 1.154 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02907/1.119, allocations: 19.63 MB / 1.173 GB, free: 12.23 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01994/1.139, allocations: 9.896 MB / 1.183 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02076/1.16, allocations: 6.606 MB / 1.189 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01521/1.175, allocations: 5.751 MB / 1.195 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.007262/1.182, allocations: 0.8457 MB / 1.196 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01473/1.197, allocations: 1.608 MB / 1.197 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.005912/1.203, allocations: 2.119 MB / 1.199 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0141/1.217, allocations: 4.287 MB / 1.204 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02051/1.238, allocations: 12.06 MB / 1.215 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.238, allocations: 0 / 1.215 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.834e-06/1.238, allocations: 0 / 1.215 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0004575/1.238, allocations: 0 / 1.215 GB, free: 11.41 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.02191/1.26, allocations: 7.729 MB / 1.223 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.26, allocations: 8.031 kB / 1.223 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004973/1.265, allocations: 0.7814 MB / 1.224 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0163/1.281, allocations: 6.319 MB / 1.23 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006508/1.282, allocations: 415.4 kB / 1.23 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002469/1.285, allocations: 0.5389 MB / 1.231 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02176/1.306, allocations: 8.072 MB / 1.239 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002618/1.307, allocations: 15.88 kB / 1.239 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001699/1.308, allocations: 232 kB / 1.239 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001881/1.309, allocations: 167.9 kB / 1.239 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01378/1.322, allocations: 6.528 MB / 1.245 GB, free: 12.22 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.05285/1.375, allocations: 31.2 MB / 1.276 GB, free: 11.18 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00661/1.382, allocations: 3.644 MB / 1.279 GB, free: 7.547 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004585/1.386, allocations: 2.8 MB / 1.282 GB, free: 4.738 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/1.388, allocations: 0.828 MB / 1.283 GB, free: 3.742 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.35e-05/1.388, allocations: 68.67 kB / 1.283 GB, free: 3.664 MB / 1.014 GB Notification: Performance of pre-optimization done (n=267): time 6.001e-06/1.388, allocations: 0 / 1.283 GB, free: 3.664 MB / 1.014 GB Notification: Performance of matching and sorting (n=267): time 0.01384/1.402, allocations: 5.763 MB / 1.289 GB, free: 13.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/1.402, allocations: 81.52 kB / 1.289 GB, free: 13.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01173/1.413, allocations: 5.231 MB / 1.294 GB, free: 8.473 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0008426/1.414, allocations: 85.7 kB / 1.294 GB, free: 8.383 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.003407/1.418, allocations: 2.856 MB / 1.297 GB, free: 5.496 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001819/1.42, allocations: 0.9437 MB / 1.298 GB, free: 4.539 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002258/1.422, allocations: 0.7152 MB / 1.298 GB, free: 3.816 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.422, allocations: 305.1 kB / 1.299 GB, free: 3.516 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003341/1.425, allocations: 1.678 MB / 1.3 GB, free: 1.836 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004287/1.43, allocations: 2.94 MB / 1.303 GB, free: 14.34 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007611/1.437, allocations: 4.955 MB / 1.308 GB, free: 8.793 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.645e-05/1.437, allocations: 19.94 kB / 1.308 GB, free: 8.773 MB / 1.045 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01148/1.449, allocations: 5.426 MB / 1.313 GB, free: 3.293 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.337e-05/1.449, allocations: 24 kB / 1.313 GB, free: 3.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.836e-05/1.449, allocations: 44.12 kB / 1.313 GB, free: 3.227 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/1.45, allocations: 426.4 kB / 1.314 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003382/1.454, allocations: 0.858 MB / 1.315 GB, free: 1.945 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007177/1.461, allocations: 5.702 MB / 1.32 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005107/1.466, allocations: 0.5145 MB / 1.321 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008382/1.467, allocations: 176 kB / 1.321 GB, free: 11.28 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.005286/1.472, allocations: 2.292 MB / 1.323 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002194/1.474, allocations: 486.1 kB / 1.324 GB, free: 8.492 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009127/1.483, allocations: 4.188 MB / 1.328 GB, free: 4.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.715e-05/1.483, allocations: 28 kB / 1.328 GB, free: 4.223 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.537e-05/1.483, allocations: 4 kB / 1.328 GB, free: 4.219 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005762/1.489, allocations: 3.647 MB / 1.331 GB, free: 472 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02468/1.514, allocations: 10.25 MB / 1.341 GB, free: 6.035 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/1.514, allocations: 8 kB / 1.341 GB, free: 6.027 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002275/1.516, allocations: 0.4958 MB / 1.342 GB, free: 5.531 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009196/1.517, allocations: 374.9 kB / 1.342 GB, free: 5.16 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003005/1.518, allocations: 84.08 kB / 1.342 GB, free: 5.078 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006042/1.524, allocations: 5.635 MB / 1.348 GB, free: 15.16 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.524, allocations: 4 kB / 1.348 GB, free: 15.16 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/1.534, allocations: 6.246 MB / 1.354 GB, free: 8.738 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003276/1.538, allocations: 1.096 MB / 1.355 GB, free: 7.617 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00148/1.539, allocations: 67.92 kB / 1.355 GB, free: 7.551 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003642/1.543, allocations: 175.7 kB / 1.355 GB, free: 7.379 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003844/1.543, allocations: 173.6 kB / 1.355 GB, free: 7.211 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004068/1.544, allocations: 135.9 kB / 1.355 GB, free: 7.078 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.008147/1.552, allocations: 3.839 MB / 1.359 GB, free: 3.254 MB / 1.092 GB Notification: Performance of sort global known variables: time 4.91e-07/1.552, allocations: 0 / 1.359 GB, free: 3.254 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.007544/1.559, allocations: 1.804 MB / 1.361 GB, free: 1.445 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.001711/1.561, allocations: 494 kB / 1.361 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.007905/1.569, allocations: 4.284 MB / 1.366 GB, free: 12.63 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/1.569, allocations: 0 / 1.366 GB, free: 12.63 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003337/1.572, allocations: 2.037 MB / 1.368 GB, free: 10.57 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0179/1.59, allocations: 3.447 MB / 1.371 GB, free: 7.219 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02554/1.616, allocations: 12.48 MB / 1.383 GB, free: 10.66 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006838/1.623, allocations: 4.299 MB / 1.387 GB, free: 6.328 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.007673/1.63, allocations: 1.858 MB / 1.389 GB, free: 4.48 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002139/1.633, allocations: 419.2 kB / 1.39 GB, free: 4.07 MB / 1.123 GB Notification: Performance of SimCode: time 1.022e-06/1.633, allocations: 0 / 1.39 GB, free: 4.07 MB / 1.123 GB Notification: Performance of Templates: time 0.1906/1.823, allocations: 113.2 MB / 1.5 GB, free: 3.746 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