Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006653/0.006653, allocations: 97.62 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.001236/0.001236, allocations: 201.2 kB / 16.68 MB, free: 5.969 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.721/2.721, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.91 kB / 1.019 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3985, allocations: 151.6 MB / 1.167 GB, free: 6.77 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05037/0.4489, allocations: 49.31 MB / 1.215 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0238/0.4727, allocations: 13.82 MB / 1.228 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003735/0.4765, allocations: 67.62 kB / 1.228 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003449/0.4801, allocations: 0.8031 MB / 1.229 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.009147/0.4893, allocations: 2.254 MB / 1.231 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004621/0.4939, allocations: 1.32 MB / 1.233 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.8965/1.39, allocations: 19.58 MB / 1.252 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01986/1.41, allocations: 9.902 MB / 1.261 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01812/1.429, allocations: 6.517 MB / 1.268 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01555/1.444, allocations: 5.755 MB / 1.273 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.004924/1.449, allocations: 0.8435 MB / 1.274 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01118/1.46, allocations: 1.603 MB / 1.276 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.007053/1.467, allocations: 2.111 MB / 1.278 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01925/1.487, allocations: 4.292 MB / 1.282 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.03543/1.522, allocations: 12.1 MB / 1.294 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.696e-05/1.522, allocations: 1.406 kB / 1.294 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of FrontEnd: time 5e-06/1.522, allocations: 0 / 1.294 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0008968/1.523, allocations: 0 / 1.294 GB, free: 2.121 MB / 0.9981 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.03808/1.561, allocations: 7.921 MB / 1.302 GB, free: 15.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.227e-05/1.561, allocations: 10.31 kB / 1.302 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008286/1.57, allocations: 0.8185 MB / 1.302 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01968/1.589, allocations: 6.342 MB / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008536/1.59, allocations: 412.3 kB / 1.309 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004594/1.595, allocations: 0.5476 MB / 1.309 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03434/1.629, allocations: 8.078 MB / 1.317 GB, free: 9.031 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005202/1.63, allocations: 19.98 kB / 1.317 GB, free: 9.031 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004006/1.634, allocations: 229.9 kB / 1.318 GB, free: 8.859 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002734/1.634, allocations: 174.9 kB / 1.318 GB, free: 8.844 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02171/1.656, allocations: 6.525 MB / 1.324 GB, free: 6.723 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.07344/1.729, allocations: 31.27 MB / 1.355 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008037/1.737, allocations: 3.643 MB / 1.358 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005857/1.743, allocations: 2.804 MB / 1.361 GB, free: 10.81 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001356/1.745, allocations: 0.8296 MB / 1.362 GB, free: 9.914 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/1.745, allocations: 74.95 kB / 1.362 GB, free: 9.844 MB / 1.045 GB Notification: Performance of pre-optimization done (n=267): time 9.918e-06/1.745, allocations: 0 / 1.362 GB, free: 9.844 MB / 1.045 GB Notification: Performance of matching and sorting (n=267): time 0.01781/1.763, allocations: 5.783 MB / 1.368 GB, free: 4.32 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/1.763, allocations: 77.52 kB / 1.368 GB, free: 4.23 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01522/1.778, allocations: 5.24 MB / 1.373 GB, free: 14.99 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.001308/1.78, allocations: 77.7 kB / 1.373 GB, free: 14.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.004404/1.784, allocations: 2.934 MB / 1.376 GB, free: 11.97 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.002611/1.787, allocations: 0.9824 MB / 1.377 GB, free: 11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00331/1.79, allocations: 0.7195 MB / 1.377 GB, free: 10.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.79, allocations: 313 kB / 1.378 GB, free: 9.965 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003892/1.794, allocations: 1.67 MB / 1.379 GB, free: 8.293 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004723/1.799, allocations: 2.935 MB / 1.382 GB, free: 4.828 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008891/1.808, allocations: 4.967 MB / 1.387 GB, free: 15.44 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.872e-05/1.808, allocations: 12 kB / 1.387 GB, free: 15.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01502/1.823, allocations: 5.453 MB / 1.392 GB, free: 10.17 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.567e-05/1.823, allocations: 24 kB / 1.392 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/1.823, allocations: 43.84 kB / 1.392 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/1.824, allocations: 421.9 kB / 1.393 GB, free: 9.688 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003783/1.828, allocations: 0.86 MB / 1.394 GB, free: 8.887 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007319/1.835, allocations: 5.706 MB / 1.399 GB, free: 2.957 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007288/1.843, allocations: 0.5276 MB / 1.4 GB, free: 2.426 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001167/1.844, allocations: 180 kB / 1.4 GB, free: 2.25 MB / 1.076 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.007112/1.851, allocations: 2.278 MB / 1.402 GB, free: 16 kB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003091/1.854, allocations: 0.5087 MB / 1.403 GB, free: 15.5 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/1.865, allocations: 4.177 MB / 1.407 GB, free: 11.29 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.925e-05/1.865, allocations: 32 kB / 1.407 GB, free: 11.26 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.115e-05/1.865, allocations: 4 kB / 1.407 GB, free: 11.25 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006418/1.872, allocations: 3.636 MB / 1.41 GB, free: 7.52 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02836/1.9, allocations: 10.26 MB / 1.42 GB, free: 13.19 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/1.9, allocations: 8.094 kB / 1.42 GB, free: 13.18 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002509/1.903, allocations: 0.4958 MB / 1.421 GB, free: 12.71 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/1.904, allocations: 375.6 kB / 1.421 GB, free: 12.34 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004769/1.904, allocations: 79.95 kB / 1.421 GB, free: 12.26 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006472/1.911, allocations: 5.651 MB / 1.427 GB, free: 6.363 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/1.911, allocations: 11.16 kB / 1.427 GB, free: 6.355 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/1.923, allocations: 6.276 MB / 1.433 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004321/1.927, allocations: 1.126 MB / 1.434 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002423/1.93, allocations: 63.92 kB / 1.434 GB, free: 14.73 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004961/1.935, allocations: 175.2 kB / 1.434 GB, free: 14.56 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000471/1.935, allocations: 177.3 kB / 1.434 GB, free: 14.39 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005307/1.936, allocations: 131.9 kB / 1.434 GB, free: 14.26 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.009774/1.946, allocations: 3.838 MB / 1.438 GB, free: 10.44 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.7e-07/1.946, allocations: 4 kB / 1.438 GB, free: 10.43 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.01081/1.957, allocations: 1.805 MB / 1.44 GB, free: 8.625 MB / 1.123 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.002341/1.959, allocations: 497.6 kB / 1.44 GB, free: 8.184 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.009401/1.968, allocations: 4.285 MB / 1.445 GB, free: 4.016 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/1.968, allocations: 4 kB / 1.445 GB, free: 4.012 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.003835/1.972, allocations: 2.033 MB / 1.447 GB, free: 2.004 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02249/1.995, allocations: 3.461 MB / 1.45 GB, free: 14.64 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02979/2.025, allocations: 12.67 MB / 1.462 GB, free: 1.914 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007879/2.033, allocations: 4.311 MB / 1.467 GB, free: 13.57 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.007004/2.04, allocations: 1.849 MB / 1.468 GB, free: 11.74 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/2.041, allocations: 417.9 kB / 1.469 GB, free: 11.33 MB / 1.154 GB Notification: Performance of SimCode: time 1.022e-06/2.041, allocations: 0 / 1.469 GB, free: 11.33 MB / 1.154 GB Notification: Performance of Templates: time 0.1765/2.218, allocations: 113.2 MB / 1.579 GB, free: 11.4 MB / 1.264 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches