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.363/1.363, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 177.6 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.001026/0.001026, allocations: 87.84 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003775, allocations: 8.812 kB / 0.7962 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2583, allocations: 106.3 MB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9859/1.244, allocations: 413.1 MB / 1.303 GB, free: 3.484 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/1.245, allocations: 91.2 kB / 1.304 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 17.57/18.82, allocations: 4.489 GB / 5.793 GB, free: 105.6 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.655e-06/18.82, allocations: 0 / 5.793 GB, free: 105.6 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.004056/18.82, allocations: 401.9 kB / 5.793 GB, free: 105.6 MB / 1.01 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.0818/18.91, allocations: 16.35 MB / 5.809 GB, free: 99.68 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 7.628e-05/18.91, allocations: 15.33 kB / 5.809 GB, free: 99.68 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01744/18.92, allocations: 1.88 MB / 5.811 GB, free: 98.78 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06133/18.98, allocations: 17.78 MB / 5.828 GB, free: 97.06 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001338/18.99, allocations: 0.9723 MB / 5.829 GB, free: 97.03 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007155/18.99, allocations: 1.302 MB / 5.83 GB, free: 97.02 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06016/19.05, allocations: 18.18 MB / 5.848 GB, free: 94.77 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009479/19.05, allocations: 42.53 kB / 5.848 GB, free: 94.75 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006396/19.06, allocations: 0.5266 MB / 5.849 GB, free: 94.75 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005437/19.06, allocations: 353.4 kB / 5.849 GB, free: 94.75 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05646/19.12, allocations: 15.61 MB / 5.864 GB, free: 94.49 MB / 1.01 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.1816/19.3, allocations: 80.74 MB / 5.943 GB, free: 59.34 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02566/19.33, allocations: 11.98 MB / 5.955 GB, free: 54.27 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08378/19.41, allocations: 28.16 MB / 5.982 GB, free: 39.4 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/19.41, allocations: 118.5 kB / 5.982 GB, free: 39.3 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0124/19.42, allocations: 0.7758 MB / 5.983 GB, free: 38.69 MB / 1.01 GB Notification: Performance of pre-optimization done (n=660): time 3.72e-05/19.42, allocations: 0 / 5.983 GB, free: 38.69 MB / 1.01 GB Notification: Performance of matching and sorting (n=660): time 0.05488/19.48, allocations: 17.99 MB / 6.001 GB, free: 29.39 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.457e-05/19.48, allocations: 116.6 kB / 6.001 GB, free: 29.27 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03722/19.51, allocations: 12.03 MB / 6.013 GB, free: 19.26 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.003526/19.52, allocations: 181.7 kB / 6.013 GB, free: 19.08 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.01233/19.53, allocations: 7.102 MB / 6.02 GB, free: 12.69 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.006037/19.54, allocations: 2.32 MB / 6.022 GB, free: 10.6 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003978/19.54, allocations: 232 kB / 6.022 GB, free: 10.37 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.002188/19.54, allocations: 0.7735 MB / 6.023 GB, free: 9.727 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01346/19.56, allocations: 5.706 MB / 6.029 GB, free: 5.027 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0192/19.57, allocations: 9.584 MB / 6.038 GB, free: 10.88 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01931/19.59, allocations: 7.597 MB / 6.045 GB, free: 4.258 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002023/19.59, allocations: 38.16 kB / 6.045 GB, free: 4.223 MB / 1.026 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.9527/20.55, allocations: 19.02 MB / 6.064 GB, free: 125 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.01821/20.57, allocations: 68.62 MB / 6.131 GB, free: 53.82 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006218/20.57, allocations: 127 kB / 6.131 GB, free: 53.82 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1058/20.67, allocations: 11.85 MB / 6.143 GB, free: 53.69 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01218/20.68, allocations: 2.407 MB / 6.145 GB, free: 53.69 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02404/20.71, allocations: 20.31 MB / 6.165 GB, free: 57.75 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01978/20.73, allocations: 1.1 MB / 6.166 GB, free: 57.75 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004358/20.73, allocations: 0.5428 MB / 6.166 GB, free: 57.75 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/20.73, allocations: 3.344 kB / 6.166 GB, free: 57.75 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0472/20.78, allocations: 17.42 MB / 6.183 GB, free: 57.43 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007696/20.78, allocations: 120.3 kB / 6.184 GB, free: 57.43 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1003/20.88, allocations: 11.86 MB / 6.195 GB, free: 56.98 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01154/20.89, allocations: 2.391 MB / 6.197 GB, free: 56.82 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02029/20.91, allocations: 18.51 MB / 6.216 GB, free: 46.5 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01746/20.93, allocations: 1.05 MB / 6.217 GB, free: 46.45 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004329/20.93, allocations: 0.5395 MB / 6.217 GB, free: 46.45 MB / 1.042 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1242): * Single equations (assignments): 1224 * 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.01834/20.95, allocations: 5.765 MB / 6.223 GB, free: 46.09 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006833/20.96, allocations: 1.146 MB / 6.224 GB, free: 45.69 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03812/21, allocations: 11.63 MB / 6.235 GB, free: 45.07 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001046/21, allocations: 66.78 kB / 6.235 GB, free: 45.07 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.041e-05/21, allocations: 3.281 kB / 6.235 GB, free: 45.07 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02481/21.02, allocations: 9.63 MB / 6.245 GB, free: 44.44 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08642/21.11, allocations: 25.7 MB / 6.27 GB, free: 58.96 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001008/21.11, allocations: 12.97 kB / 6.27 GB, free: 58.96 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006297/21.12, allocations: 1.141 MB / 6.271 GB, free: 58.9 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05303/21.17, allocations: 6.41 MB / 6.277 GB, free: 58.45 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002299/21.17, allocations: 194.2 kB / 6.277 GB, free: 58.45 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01648/21.19, allocations: 17.9 MB / 6.295 GB, free: 46.3 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-05/21.19, allocations: 26.98 kB / 6.295 GB, free: 46.3 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04335/21.23, allocations: 21.37 MB / 6.316 GB, free: 40.13 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01291/21.24, allocations: 2.75 MB / 6.318 GB, free: 39.42 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006469/21.25, allocations: 157.9 kB / 6.319 GB, free: 39.42 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01569/21.27, allocations: 0.7563 MB / 6.319 GB, free: 39.35 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00335/21.27, allocations: 456.4 kB / 6.32 GB, free: 39.31 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002714/21.27, allocations: 276.2 kB / 6.32 GB, free: 39.31 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.02555/21.3, allocations: 9.196 MB / 6.329 GB, free: 38.99 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.092e-06/21.3, allocations: 0 / 6.329 GB, free: 38.99 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.05131/21.35, allocations: 7.809 MB / 6.337 GB, free: 38.47 MB / 1.057 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (570): * Single equations (assignments): 546 * 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.007516/21.36, allocations: 2.14 MB / 6.339 GB, free: 37.8 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.05476/21.41, allocations: 22.08 MB / 6.36 GB, free: 35.97 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.829e-05/21.41, allocations: 8.25 kB / 6.36 GB, free: 35.97 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01357/21.43, allocations: 5.43 MB / 6.366 GB, free: 35.41 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0366/21.46, allocations: 6.102 MB / 6.371 GB, free: 35.09 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09107/21.55, allocations: 36.85 MB / 6.407 GB, free: 11.59 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02673/21.58, allocations: 10.13 MB / 6.417 GB, free: 20.16 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.03241/21.61, allocations: 6.115 MB / 6.423 GB, free: 16.18 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009671/21.62, allocations: 0.8704 MB / 6.424 GB, free: 15.37 MB / 1.073 GB Notification: Performance of SimCode: time 3.026e-06/21.62, allocations: 0 / 6.424 GB, free: 15.37 MB / 1.073 GB Notification: Performance of Templates: time 1.323/22.95, allocations: 269.6 MB / 6.687 GB, free: 113.6 MB / 1.073 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