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.005834/0.005834, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001123/0.001124, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.509/2.509, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 63.75 kB / 0.9508 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3487, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04708/0.3958, allocations: 49.3 MB / 1.136 GB, free: 24 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02217/0.4181, allocations: 13.83 MB / 1.15 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003679/0.4218, allocations: 63.69 kB / 1.15 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003304/0.4251, allocations: 0.8304 MB / 1.15 GB, free: 1.258 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.4361, allocations: 2.348 MB / 1.153 GB, free: 14.89 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005012/0.4412, allocations: 1.323 MB / 1.154 GB, free: 13.58 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02366/0.4649, allocations: 19.62 MB / 1.173 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.013/0.4779, allocations: 9.902 MB / 1.183 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01603/0.494, allocations: 6.588 MB / 1.189 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01213/0.5061, allocations: 5.751 MB / 1.195 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.003417/0.5096, allocations: 0.8438 MB / 1.196 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007773/0.5173, allocations: 1.604 MB / 1.197 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.004343/0.5217, allocations: 2.119 MB / 1.199 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.01231/0.534, allocations: 4.295 MB / 1.204 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.02126/0.5553, allocations: 12.1 MB / 1.215 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.5554, allocations: 0 / 1.215 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.595e-06/0.5554, allocations: 0 / 1.215 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0005451/0.5559, allocations: 0 / 1.215 GB, free: 14.52 MB / 0.9825 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.02614/0.5821, allocations: 7.917 MB / 1.223 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.5822, allocations: 8.031 kB / 1.223 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005407/0.5876, allocations: 0.8243 MB / 1.224 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01707/0.6047, allocations: 6.346 MB / 1.23 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004927/0.6052, allocations: 419.3 kB / 1.231 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002456/0.6077, allocations: 0.5467 MB / 1.231 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01964/0.6273, allocations: 8.076 MB / 1.239 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001339/0.6275, allocations: 15.92 kB / 1.239 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007147/0.6282, allocations: 236 kB / 1.239 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001518/0.6284, allocations: 163.9 kB / 1.239 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01272/0.6411, allocations: 6.528 MB / 1.246 GB, free: 15.06 MB / 1.014 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.7193/1.36, allocations: 31.27 MB / 1.276 GB, free: 141.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/1.372, allocations: 3.641 MB / 1.28 GB, free: 140.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007985/1.38, allocations: 2.8 MB / 1.283 GB, free: 139.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/1.381, allocations: 0.826 MB / 1.283 GB, free: 138.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/1.381, allocations: 67.44 kB / 1.283 GB, free: 138.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=267): time 1.574e-05/1.381, allocations: 0 / 1.283 GB, free: 138.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=267): time 0.02223/1.403, allocations: 5.788 MB / 1.289 GB, free: 136.6 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.812e-05/1.403, allocations: 81.77 kB / 1.289 GB, free: 136.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01978/1.423, allocations: 5.233 MB / 1.294 GB, free: 134.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001092/1.424, allocations: 80.67 kB / 1.294 GB, free: 134.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.004591/1.429, allocations: 2.935 MB / 1.297 GB, free: 132.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002447/1.432, allocations: 0.9804 MB / 1.298 GB, free: 132.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003839/1.435, allocations: 0.7155 MB / 1.299 GB, free: 131.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 6.871e-05/1.436, allocations: 303.2 kB / 1.299 GB, free: 131.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006072/1.442, allocations: 1.676 MB / 1.301 GB, free: 130.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006244/1.448, allocations: 2.941 MB / 1.304 GB, free: 128.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/1.458, allocations: 4.962 MB / 1.308 GB, free: 125.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.643e-05/1.458, allocations: 10.91 kB / 1.308 GB, free: 125.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01302/1.471, allocations: 5.466 MB / 1.314 GB, free: 123.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.603e-05/1.471, allocations: 27.72 kB / 1.314 GB, free: 123.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.062e-05/1.471, allocations: 39.56 kB / 1.314 GB, free: 123.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009936/1.472, allocations: 418 kB / 1.314 GB, free: 123.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003119/1.475, allocations: 0.8576 MB / 1.315 GB, free: 123 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005102/1.481, allocations: 5.702 MB / 1.321 GB, free: 118.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005077/1.486, allocations: 0.5371 MB / 1.321 GB, free: 118 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006979/1.486, allocations: 178.2 kB / 1.321 GB, free: 118 MB / 1.014 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.004309/1.491, allocations: 2.282 MB / 1.324 GB, free: 116.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001843/1.493, allocations: 0.5103 MB / 1.324 GB, free: 116.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007097/1.5, allocations: 4.169 MB / 1.328 GB, free: 114 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/1.5, allocations: 28.48 kB / 1.328 GB, free: 114 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/1.5, allocations: 7 kB / 1.328 GB, free: 114 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004609/1.504, allocations: 3.636 MB / 1.332 GB, free: 111.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01982/1.524, allocations: 10.27 MB / 1.342 GB, free: 102.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/1.524, allocations: 4 kB / 1.342 GB, free: 102.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002061/1.526, allocations: 0.4954 MB / 1.342 GB, free: 101.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007668/1.527, allocations: 378.4 kB / 1.343 GB, free: 101.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002462/1.527, allocations: 76.73 kB / 1.343 GB, free: 101.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004328/1.532, allocations: 5.654 MB / 1.348 GB, free: 95.61 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-06/1.532, allocations: 11.94 kB / 1.348 GB, free: 95.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009079/1.541, allocations: 6.274 MB / 1.354 GB, free: 89.16 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003499/1.544, allocations: 1.113 MB / 1.355 GB, free: 88.06 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001709/1.546, allocations: 59.98 kB / 1.356 GB, free: 88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003976/1.55, allocations: 183 kB / 1.356 GB, free: 87.84 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003374/1.55, allocations: 181.6 kB / 1.356 GB, free: 87.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003408/1.551, allocations: 127.9 kB / 1.356 GB, free: 87.54 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.006162/1.557, allocations: 3.835 MB / 1.36 GB, free: 83.71 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.61e-07/1.557, allocations: 0 / 1.36 GB, free: 83.71 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005888/1.563, allocations: 1.815 MB / 1.362 GB, free: 81.97 MB / 1.014 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.00124/1.564, allocations: 498.1 kB / 1.362 GB, free: 81.52 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006397/1.57, allocations: 4.28 MB / 1.366 GB, free: 77.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/1.571, allocations: 4 kB / 1.366 GB, free: 77.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002747/1.573, allocations: 2.047 MB / 1.368 GB, free: 75.12 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01694/1.59, allocations: 3.448 MB / 1.372 GB, free: 71.79 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01835/1.609, allocations: 12.67 MB / 1.384 GB, free: 59.04 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003116/1.612, allocations: 4.303 MB / 1.388 GB, free: 54.71 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.005725/1.618, allocations: 1.852 MB / 1.39 GB, free: 52.87 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/1.619, allocations: 419.2 kB / 1.39 GB, free: 52.46 MB / 1.014 GB Notification: Performance of SimCode: time 9.92e-07/1.619, allocations: 0 / 1.39 GB, free: 52.46 MB / 1.014 GB Notification: Performance of Templates: time 0.1611/1.78, allocations: 113.2 MB / 1.501 GB, free: 4.145 MB / 1.076 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