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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001469/0.001469, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 197 kB / 16.63 MB, free: 6.613 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.414/1.414, allocations: 222.9 MB / 240.3 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.447/2.447, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 62.81 kB / 0.9509 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3286, allocations: 140.4 MB / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04667/0.3753, allocations: 49.29 MB / 1.136 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01918/0.3945, allocations: 13.81 MB / 1.15 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002836/0.3974, allocations: 67.62 kB / 1.15 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002564/0.4, allocations: 0.807 MB / 1.15 GB, free: 1.211 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006577/0.4066, allocations: 2.258 MB / 1.153 GB, free: 14.94 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003666/0.4103, allocations: 1.317 MB / 1.154 GB, free: 13.63 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01917/0.4295, allocations: 19.6 MB / 1.173 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01196/0.4415, allocations: 9.902 MB / 1.183 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01306/0.4546, allocations: 6.52 MB / 1.189 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009996/0.4646, allocations: 5.755 MB / 1.195 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.002577/0.4672, allocations: 0.8476 MB / 1.196 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006153/0.4734, allocations: 1.592 MB / 1.197 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003373/0.4767, allocations: 2.123 MB / 1.199 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.009614/0.4864, allocations: 4.291 MB / 1.203 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01879/0.5052, allocations: 12.05 MB / 1.215 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.5053, allocations: 0 / 1.215 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.849e-06/0.5053, allocations: 0 / 1.215 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0006295/0.5059, allocations: 3.938 kB / 1.215 GB, free: 14.72 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.02051/0.5264, allocations: 7.735 MB / 1.223 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.5265, allocations: 12.03 kB / 1.223 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003187/0.5297, allocations: 0.7853 MB / 1.223 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01257/0.5423, allocations: 6.307 MB / 1.23 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003355/0.5427, allocations: 411.4 kB / 1.23 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001644/0.5443, allocations: 0.5466 MB / 1.231 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01768/0.562, allocations: 8.065 MB / 1.238 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002065/0.5623, allocations: 23.86 kB / 1.238 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001272/0.5636, allocations: 236 kB / 1.239 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002686/0.5638, allocations: 163.9 kB / 1.239 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02047/0.5843, allocations: 6.528 MB / 1.245 GB, free: 15.53 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.7482/1.333, allocations: 31.2 MB / 1.276 GB, free: 141.9 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007566/1.34, allocations: 3.643 MB / 1.279 GB, free: 140.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005042/1.345, allocations: 2.811 MB / 1.282 GB, free: 139.8 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000932/1.346, allocations: 0.8241 MB / 1.283 GB, free: 138.9 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.452e-05/1.346, allocations: 68.08 kB / 1.283 GB, free: 138.9 MB / 1.014 GB Notification: Performance of pre-optimization done (n=267): time 4.779e-06/1.346, allocations: 4.594 kB / 1.283 GB, free: 138.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=267): time 0.01326/1.36, allocations: 5.77 MB / 1.289 GB, free: 137 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/1.36, allocations: 78.77 kB / 1.289 GB, free: 136.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01206/1.372, allocations: 5.232 MB / 1.294 GB, free: 135.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0009483/1.373, allocations: 83.02 kB / 1.294 GB, free: 135.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002943/1.376, allocations: 2.868 MB / 1.297 GB, free: 133 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001833/1.378, allocations: 0.9352 MB / 1.297 GB, free: 132.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001313/1.379, allocations: 0.7129 MB / 1.298 GB, free: 131.9 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 6.486e-05/1.379, allocations: 302.3 kB / 1.298 GB, free: 131.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002882/1.382, allocations: 1.681 MB / 1.3 GB, free: 131.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003274/1.385, allocations: 2.935 MB / 1.303 GB, free: 129 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006419/1.392, allocations: 4.958 MB / 1.308 GB, free: 125.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-05/1.392, allocations: 11.56 kB / 1.308 GB, free: 125.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009657/1.401, allocations: 5.44 MB / 1.313 GB, free: 123.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/1.401, allocations: 27.75 kB / 1.313 GB, free: 123.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.063e-05/1.401, allocations: 39.56 kB / 1.313 GB, free: 123.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009116/1.402, allocations: 423.9 kB / 1.314 GB, free: 123.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002995/1.405, allocations: 0.8532 MB / 1.314 GB, free: 123.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00473/1.41, allocations: 5.705 MB / 1.32 GB, free: 118.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004868/1.415, allocations: 0.5085 MB / 1.321 GB, free: 118.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006578/1.416, allocations: 182.4 kB / 1.321 GB, free: 118.1 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.004204/1.42, allocations: 2.292 MB / 1.323 GB, free: 116.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001682/1.422, allocations: 488.7 kB / 1.323 GB, free: 116.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00619/1.428, allocations: 4.171 MB / 1.327 GB, free: 114.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/1.428, allocations: 27.97 kB / 1.327 GB, free: 114.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/1.428, allocations: 9.531 kB / 1.327 GB, free: 114.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004234/1.432, allocations: 3.634 MB / 1.331 GB, free: 112 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01897/1.451, allocations: 10.26 MB / 1.341 GB, free: 102.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/1.451, allocations: 4 kB / 1.341 GB, free: 102.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/1.453, allocations: 0.4998 MB / 1.342 GB, free: 102.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000784/1.454, allocations: 375.4 kB / 1.342 GB, free: 101.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002283/1.454, allocations: 83.89 kB / 1.342 GB, free: 101.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004345/1.459, allocations: 5.649 MB / 1.348 GB, free: 95.83 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.459, allocations: 4 kB / 1.348 GB, free: 95.83 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008939/1.468, allocations: 6.249 MB / 1.354 GB, free: 89.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003154/1.471, allocations: 1.1 MB / 1.355 GB, free: 88.28 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00158/1.472, allocations: 59.98 kB / 1.355 GB, free: 88.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004151/1.477, allocations: 177.4 kB / 1.355 GB, free: 88.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003672/1.477, allocations: 173.6 kB / 1.355 GB, free: 87.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003478/1.477, allocations: 127.9 kB / 1.355 GB, free: 87.76 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.006098/1.483, allocations: 3.843 MB / 1.359 GB, free: 83.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.51e-07/1.484, allocations: 4 kB / 1.359 GB, free: 83.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006814/1.49, allocations: 1.794 MB / 1.361 GB, free: 82.15 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.001564/1.492, allocations: 0.4897 MB / 1.361 GB, free: 81.71 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006194/1.498, allocations: 4.271 MB / 1.365 GB, free: 77.41 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/1.498, allocations: 4 kB / 1.365 GB, free: 77.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002893/1.501, allocations: 2.043 MB / 1.367 GB, free: 75.33 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02008/1.521, allocations: 3.459 MB / 1.371 GB, free: 71.99 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02121/1.542, allocations: 12.47 MB / 1.383 GB, free: 59.46 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003535/1.546, allocations: 4.307 MB / 1.387 GB, free: 55.12 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.006093/1.552, allocations: 1.861 MB / 1.389 GB, free: 53.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001664/1.554, allocations: 411.3 kB / 1.389 GB, free: 52.87 MB / 1.014 GB Notification: Performance of SimCode: time 1.262e-06/1.554, allocations: 0 / 1.389 GB, free: 52.87 MB / 1.014 GB Notification: Performance of Templates: time 0.1686/1.722, allocations: 111.7 MB / 1.498 GB, free: 6.035 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