Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001703/0.001703, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001959/0.001959, allocations: 193 kB / 16.25 MB, free: 6.629 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.457/1.457, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.929/2.929, allocations: 469.8 MB / 0.742 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 67.75 kB / 0.908 GB, free: 34.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3906, allocations: 159.1 MB / 1.063 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05112/0.4418, allocations: 48.9 MB / 1.111 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02046/0.4623, allocations: 13.71 MB / 1.125 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003155/0.4655, allocations: 63.62 kB / 1.125 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002541/0.4681, allocations: 0.6838 MB / 1.125 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006839/0.4749, allocations: 2.094 MB / 1.127 GB, free: 13 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003525/0.4785, allocations: 1.196 MB / 1.129 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.02149/0.5, allocations: 19.67 MB / 1.148 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01315/0.5132, allocations: 9.82 MB / 1.157 GB, free: 14.14 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01607/0.5293, allocations: 6.575 MB / 1.164 GB, free: 7.59 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01091/0.5402, allocations: 5.934 MB / 1.17 GB, free: 1.633 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002518/0.5427, allocations: 0.832 MB / 1.17 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006253/0.549, allocations: 1.6 MB / 1.172 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.003194/0.5522, allocations: 2.1 MB / 1.174 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.008644/0.5609, allocations: 4.287 MB / 1.178 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01594/0.5769, allocations: 11.9 MB / 1.19 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5769, allocations: 0 / 1.19 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.345e-06/0.5769, allocations: 0 / 1.19 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0004252/0.5774, allocations: 0 / 1.19 GB, free: 12.86 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.02378/0.6011, allocations: 7.713 MB / 1.197 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.6012, allocations: 8.031 kB / 1.197 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004069/0.6053, allocations: 0.793 MB / 1.198 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01436/0.6197, allocations: 6.231 MB / 1.204 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004369/0.6201, allocations: 415.4 kB / 1.205 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0023/0.6225, allocations: 0.5506 MB / 1.205 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01927/0.6417, allocations: 8.065 MB / 1.213 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001383/0.6419, allocations: 15.78 kB / 1.213 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007653/0.6427, allocations: 236 kB / 1.213 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001986/0.6429, allocations: 167.9 kB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/0.6572, allocations: 6.524 MB / 1.22 GB, free: 13.76 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.7472/1.404, allocations: 31.12 MB / 1.25 GB, free: 103 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005858/1.41, allocations: 3.634 MB / 1.254 GB, free: 103 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003662/1.414, allocations: 2.804 MB / 1.256 GB, free: 103 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008371/1.415, allocations: 0.8213 MB / 1.257 GB, free: 102.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.489e-05/1.415, allocations: 79.75 kB / 1.257 GB, free: 102.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=267): time 5.129e-06/1.415, allocations: 0 / 1.257 GB, free: 102.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=267): time 0.01162/1.427, allocations: 5.766 MB / 1.263 GB, free: 101.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/1.427, allocations: 82.38 kB / 1.263 GB, free: 101.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01064/1.437, allocations: 5.026 MB / 1.268 GB, free: 101.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009373/1.438, allocations: 79.72 kB / 1.268 GB, free: 101.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002861/1.441, allocations: 2.87 MB / 1.271 GB, free: 100.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001733/1.443, allocations: 0.9363 MB / 1.272 GB, free: 99.92 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001254/1.444, allocations: 0.7129 MB / 1.272 GB, free: 99.86 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.18e-05/1.444, allocations: 311.1 kB / 1.273 GB, free: 99.55 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003106/1.447, allocations: 1.674 MB / 1.274 GB, free: 99.55 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003718/1.451, allocations: 2.929 MB / 1.277 GB, free: 98.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006964/1.458, allocations: 4.966 MB / 1.282 GB, free: 96.53 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.973e-05/1.458, allocations: 16.34 kB / 1.282 GB, free: 96.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01105/1.469, allocations: 5.443 MB / 1.287 GB, free: 96.11 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-05/1.469, allocations: 24 kB / 1.287 GB, free: 96.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.482e-05/1.469, allocations: 40.62 kB / 1.287 GB, free: 96.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/1.471, allocations: 423.2 kB / 1.288 GB, free: 96.08 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003108/1.474, allocations: 0.8584 MB / 1.289 GB, free: 96.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005457/1.479, allocations: 5.699 MB / 1.294 GB, free: 93.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006261/1.485, allocations: 0.6439 MB / 1.295 GB, free: 92.74 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007415/1.486, allocations: 181.6 kB / 1.295 GB, free: 92.74 MB / 0.9981 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.00465/1.491, allocations: 2.284 MB / 1.297 GB, free: 92.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00167/1.493, allocations: 493.3 kB / 1.298 GB, free: 92.27 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006341/1.499, allocations: 4.179 MB / 1.302 GB, free: 90.67 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-05/1.499, allocations: 30.28 kB / 1.302 GB, free: 90.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/1.499, allocations: 5.375 kB / 1.302 GB, free: 90.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004341/1.503, allocations: 3.632 MB / 1.305 GB, free: 89.12 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/1.522, allocations: 10.21 MB / 1.315 GB, free: 85.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/1.522, allocations: 3.125 kB / 1.315 GB, free: 85.15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001984/1.524, allocations: 0.5009 MB / 1.316 GB, free: 85.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007446/1.525, allocations: 376.9 kB / 1.316 GB, free: 85.03 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/1.525, allocations: 77.34 kB / 1.316 GB, free: 84.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004267/1.529, allocations: 5.648 MB / 1.322 GB, free: 80.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.529, allocations: 7.844 kB / 1.322 GB, free: 80.42 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008573/1.538, allocations: 6.242 MB / 1.328 GB, free: 76.87 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003384/1.541, allocations: 1.08 MB / 1.329 GB, free: 76.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001386/1.543, allocations: 64.52 kB / 1.329 GB, free: 76.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003721/1.546, allocations: 327.9 kB / 1.329 GB, free: 75.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003339/1.547, allocations: 179.3 kB / 1.33 GB, free: 75.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002708/1.547, allocations: 127.1 kB / 1.33 GB, free: 75.78 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005375/1.552, allocations: 3.684 MB / 1.333 GB, free: 73.61 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.552, allocations: 0 / 1.333 GB, free: 73.61 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007128/1.56, allocations: 1.787 MB / 1.335 GB, free: 71.83 MB / 0.9981 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.001414/1.561, allocations: 480.8 kB / 1.335 GB, free: 71.44 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01385/1.575, allocations: 8.069 MB / 1.343 GB, free: 63.51 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.587e-05/1.575, allocations: 4 kB / 1.343 GB, free: 63.51 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002953/1.578, allocations: 2.037 MB / 1.345 GB, free: 61.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01846/1.596, allocations: 3.466 MB / 1.349 GB, free: 58.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02497/1.621, allocations: 14.88 MB / 1.363 GB, free: 43.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00514/1.627, allocations: 4.317 MB / 1.367 GB, free: 38.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006297/1.633, allocations: 1.856 MB / 1.369 GB, free: 37.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00156/1.634, allocations: 406.3 kB / 1.37 GB, free: 36.72 MB / 0.9981 GB Notification: Performance of SimCode: time 1.152e-06/1.634, allocations: 4 kB / 1.37 GB, free: 36.71 MB / 0.9981 GB Notification: Performance of Templates: time 0.2018/1.836, allocations: 114.7 MB / 1.482 GB, free: 3.422 MB / 1.076 GB make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches