Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanSte.vol.1..T|tanSte.vol.2..T|tanSte.vol.3..T|tanSte.vol.4..T|tanDyn.vol.1..T|tanDyn.vol.2..T|tanDyn.vol.3..T|tanDyn.vol.4..T|tanDynSol.vol.1..T|tanDynSol.vol.2..T|tanDynSol.vol.3..T|tanDynSol.vol.4..T|senTemSte.T|senTemDyn.T|senTemDynSol.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanSte.vol.1..T|tanSte.vol.2..T|tanSte.vol.3..T|tanSte.vol.4..T|tanDyn.vol.1..T|tanDyn.vol.2..T|tanDyn.vol.3..T|tanDyn.vol.4..T|tanDynSol.vol.1..T|tanDynSol.vol.2..T|tanDynSol.vol.3..T|tanDynSol.vol.4..T|senTemSte.T|senTemDyn.T|senTemDynSol.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.462/1.462, allocations: 249.5 MB / 257 MB, free: 6.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 184.9 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009214/0.0009215, allocations: 98.42 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.992e-05/1.994e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.242, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.655/1.897, allocations: 413.3 MB / 1.289 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/1.897, allocations: 88.5 kB / 1.289 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 17.39/19.29, allocations: 4.454 GB / 5.743 GB, free: 62.04 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.146e-06/19.29, allocations: 0 / 5.743 GB, free: 62.04 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.00449/19.29, allocations: 400.5 kB / 5.744 GB, free: 61.98 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 0.05979/19.35, allocations: 13.62 MB / 5.757 GB, free: 56.99 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/19.35, allocations: 6.906 kB / 5.757 GB, free: 56.99 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01479/19.37, allocations: 1.873 MB / 5.759 GB, free: 56.1 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05126/19.42, allocations: 17.69 MB / 5.776 GB, free: 47.92 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008863/19.42, allocations: 410 kB / 5.776 GB, free: 47.52 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006964/19.43, allocations: 0.7694 MB / 5.777 GB, free: 46.76 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04203/19.47, allocations: 14.45 MB / 5.791 GB, free: 32.93 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05691/19.52, allocations: 16.04 MB / 5.807 GB, free: 16.18 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001069/19.53, allocations: 39.66 kB / 5.807 GB, free: 16.14 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005866/19.53, allocations: 24 kB / 5.807 GB, free: 16.11 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003474/19.53, allocations: 359.9 kB / 5.807 GB, free: 15.76 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or 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 1.046/20.58, allocations: 78.41 MB / 5.884 GB, free: 43.23 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02837/20.61, allocations: 11.3 MB / 5.895 GB, free: 43.05 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01721/20.62, allocations: 5.806 MB / 5.901 GB, free: 42.97 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09125/20.71, allocations: 28.18 MB / 5.928 GB, free: 36.61 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/20.71, allocations: 115.8 kB / 5.928 GB, free: 36.56 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01105/20.73, allocations: 0.5556 MB / 5.929 GB, free: 36.32 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=651): time 5.845e-05/20.73, allocations: 0 / 5.929 GB, free: 36.32 MB / 0.9948 GB Notification: Performance of matching and sorting (n=651): time 0.03329/20.76, allocations: 10.47 MB / 5.939 GB, free: 35.39 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/20.76, allocations: 122.3 kB / 5.939 GB, free: 35.32 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02944/20.79, allocations: 10.71 MB / 5.95 GB, free: 34.71 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.002945/20.79, allocations: 30.64 kB / 5.95 GB, free: 34.68 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01028/20.8, allocations: 7.071 MB / 5.957 GB, free: 32.38 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004419/20.81, allocations: 2.2 MB / 5.959 GB, free: 30.95 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002909/20.81, allocations: 0 / 5.959 GB, free: 30.95 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.002866/20.81, allocations: 0.7735 MB / 5.96 GB, free: 46.62 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01124/20.82, allocations: 5.36 MB / 5.965 GB, free: 46.6 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.015/20.84, allocations: 9.162 MB / 5.974 GB, free: 42.04 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0254/20.86, allocations: 9.476 MB / 5.983 GB, free: 41.94 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003076/20.86, allocations: 33.19 kB / 5.983 GB, free: 41.94 MB / 1.01 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.06093/20.93, allocations: 19.09 MB / 6.002 GB, free: 41.02 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.03225/20.96, allocations: 66.74 MB / 6.067 GB, free: 35.77 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006264/20.96, allocations: 121 kB / 6.067 GB, free: 35.77 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01341/20.97, allocations: 4.04 MB / 6.071 GB, free: 35.63 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01241/20.98, allocations: 2.396 MB / 6.073 GB, free: 35.63 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02448/21.01, allocations: 20.64 MB / 6.093 GB, free: 23.71 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01908/21.03, allocations: 0.869 MB / 6.094 GB, free: 23.62 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004456/21.03, allocations: 0.5387 MB / 6.095 GB, free: 23.62 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/21.03, allocations: 5.375 kB / 6.095 GB, free: 23.62 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05229/21.08, allocations: 17.91 MB / 6.112 GB, free: 23.3 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007494/21.09, allocations: 117.8 kB / 6.112 GB, free: 23.3 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01273/21.1, allocations: 4.048 MB / 6.116 GB, free: 23.16 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01081/21.11, allocations: 2.377 MB / 6.119 GB, free: 23.16 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02412/21.13, allocations: 18.83 MB / 6.137 GB, free: 28.98 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01671/21.15, allocations: 0.815 MB / 6.138 GB, free: 28.91 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003739/21.15, allocations: 0.5374 MB / 6.138 GB, free: 28.91 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1233): * Single equations (assignments): 1215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,2 17,2 17,2 17,2 17,2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.005539/21.16, allocations: 455.4 kB / 6.139 GB, free: 28.7 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005308/21.16, allocations: 1.078 MB / 6.14 GB, free: 28.12 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03473/21.2, allocations: 11.43 MB / 6.151 GB, free: 27.54 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.007e-05/21.2, allocations: 73.05 kB / 6.151 GB, free: 27.54 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.317e-05/21.2, allocations: 2.406 kB / 6.151 GB, free: 27.54 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02524/21.23, allocations: 9.657 MB / 6.16 GB, free: 26.94 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07505/21.3, allocations: 24.15 MB / 6.184 GB, free: 19.11 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-05/21.3, allocations: 10.56 kB / 6.184 GB, free: 19.11 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005937/21.31, allocations: 1.132 MB / 6.185 GB, free: 19.01 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007749/21.31, allocations: 2.481 MB / 6.188 GB, free: 18.35 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002195/21.32, allocations: 100.5 kB / 6.188 GB, free: 18.32 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01707/21.33, allocations: 17.92 MB / 6.205 GB, free: 3.969 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-05/21.33, allocations: 25.08 kB / 6.205 GB, free: 3.961 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.039/22.37, allocations: 20.96 MB / 6.226 GB, free: 159.9 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01584/22.39, allocations: 2.675 MB / 6.228 GB, free: 159.3 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007571/22.4, allocations: 50.09 kB / 6.228 GB, free: 159.3 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01664/22.41, allocations: 0.6286 MB / 6.229 GB, free: 159.2 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003532/22.42, allocations: 443.4 kB / 6.229 GB, free: 159.2 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003162/22.42, allocations: 280 kB / 6.23 GB, free: 159.2 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.03291/22.45, allocations: 7.994 MB / 6.237 GB, free: 159 MB / 1.089 GB Notification: Performance of sort global known variables: time 2.926e-06/22.45, allocations: 0.6875 kB / 6.237 GB, free: 159 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0586/22.51, allocations: 7.44 MB / 6.245 GB, free: 158.4 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 30 (tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDynSol.vol[1].dynBal.U,tanDynSol.vol[2].dynBal.U,tanDynSol.vol[3].dynBal.U,tanDynSol.vol[4].dynBal.U,tanDynSol.indTanHex.cap[1].T,tanDynSol.indTanHex.cap[2].T,tanDynSol.indTanHex.cap[3].T,tanDynSol.indTanHex.cap[4].T,tanDynSol.indTanHex.cap[5].T,tanDynSol.indTanHex.cap[6].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (561): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.008125/22.52, allocations: 2.039 MB / 6.247 GB, free: 157.9 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.05485/22.57, allocations: 20.61 MB / 6.267 GB, free: 157 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 5.259e-05/22.57, allocations: 10.31 kB / 6.267 GB, free: 157 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.01356/22.59, allocations: 4.974 MB / 6.272 GB, free: 156.7 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03703/22.62, allocations: 5.342 MB / 6.277 GB, free: 156.6 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08666/22.71, allocations: 26.76 MB / 6.303 GB, free: 151.6 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0339/22.75, allocations: 10.14 MB / 6.313 GB, free: 150.4 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.04281/22.79, allocations: 8.418 MB / 6.321 GB, free: 149.8 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005835/22.79, allocations: 0.6547 MB / 6.322 GB, free: 149.8 MB / 1.089 GB Notification: Performance of SimCode: time 1.973e-06/22.79, allocations: 0 / 6.322 GB, free: 149.8 MB / 1.089 GB Notification: Performance of Templates: time 0.4034/23.2, allocations: 245.2 MB / 6.561 GB, free: 42.89 MB / 1.089 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches