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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.224/1.224, allocations: 249.4 MB / 256.7 MB, free: 6.918 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.0009515/0.0009515, allocations: 181.1 kB / 316 MB, free: 3.52 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.098/1.098, allocations: 205.1 MB / 0.5667 GB, free: 15.6 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.0007804/0.0007802, allocations: 101.7 kB / 0.671 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.103e-06/7.123e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1557, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9025/1.058, allocations: 413.3 MB / 1.288 GB, free: 324.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/1.059, allocations: 85.88 kB / 1.288 GB, free: 324.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 11.79/12.85, allocations: 4.48 GB / 5.768 GB, free: 64.12 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.002339/12.85, allocations: 397.5 kB / 5.768 GB, free: 64.06 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.04324/12.89, allocations: 13.27 MB / 5.781 GB, free: 58.01 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/12.89, allocations: 8.906 kB / 5.781 GB, free: 58.01 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/12.9, allocations: 1.875 MB / 5.783 GB, free: 57.11 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04344/12.95, allocations: 17.87 MB / 5.801 GB, free: 44.55 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004762/12.95, allocations: 404 kB / 5.801 GB, free: 44.15 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005028/12.95, allocations: 0.7616 MB / 5.802 GB, free: 43.39 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02915/12.98, allocations: 14.87 MB / 5.816 GB, free: 28.51 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03994/13.02, allocations: 16.36 MB / 5.832 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002861/13.02, allocations: 42.97 kB / 5.832 GB, free: 11.38 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001345/13.02, allocations: 24 kB / 5.832 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002107/13.02, allocations: 355.9 kB / 5.833 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5002/13.52, allocations: 78.26 MB / 5.909 GB, free: 106.5 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01468/13.54, allocations: 10.73 MB / 5.919 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006538/13.54, allocations: 5.979 MB / 5.925 GB, free: 106.2 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04836/13.59, allocations: 26.6 MB / 5.951 GB, free: 99.87 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.283e-05/13.59, allocations: 116.6 kB / 5.951 GB, free: 99.82 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=651): time 1.124e-05/13.59, allocations: 2.406 kB / 5.951 GB, free: 99.82 MB / 0.9948 GB Notification: Performance of matching and sorting (n=651): time 0.02305/13.62, allocations: 10.95 MB / 5.962 GB, free: 98.91 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/13.62, allocations: 121.3 kB / 5.962 GB, free: 98.84 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02086/13.64, allocations: 10.93 MB / 5.973 GB, free: 98.23 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001995/13.64, allocations: 32.52 kB / 5.973 GB, free: 98.2 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006437/13.65, allocations: 5.198 MB / 5.978 GB, free: 96.09 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005384/13.65, allocations: 2.203 MB / 5.98 GB, free: 94.69 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001983/13.65, allocations: 0 / 5.98 GB, free: 94.69 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.001128/13.65, allocations: 0.77 MB / 5.981 GB, free: 94.36 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009031/13.66, allocations: 5.602 MB / 5.986 GB, free: 94.34 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01257/13.68, allocations: 9.408 MB / 5.996 GB, free: 89.77 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02213/13.7, allocations: 10.06 MB / 6.005 GB, free: 89.67 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002082/13.7, allocations: 35.72 kB / 6.005 GB, free: 89.67 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.04439/13.74, allocations: 19.86 MB / 6.025 GB, free: 88.77 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.01754/13.76, allocations: 66.65 MB / 6.09 GB, free: 67.55 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004504/13.76, allocations: 120.8 kB / 6.09 GB, free: 67.55 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01277/13.77, allocations: 3.981 MB / 6.094 GB, free: 67.41 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01039/13.78, allocations: 2.341 MB / 6.096 GB, free: 67.41 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02259/13.81, allocations: 20.99 MB / 6.117 GB, free: 55.48 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01559/13.82, allocations: 1.507 MB / 6.118 GB, free: 54.79 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002866/13.83, allocations: 0.5429 MB / 6.119 GB, free: 54.79 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/13.83, allocations: 3.344 kB / 6.119 GB, free: 54.79 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03942/13.86, allocations: 18.68 MB / 6.137 GB, free: 54.48 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000504/13.87, allocations: 122.9 kB / 6.137 GB, free: 54.48 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.012/13.88, allocations: 3.991 MB / 6.141 GB, free: 54.34 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009947/13.89, allocations: 2.316 MB / 6.143 GB, free: 54.34 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02006/13.91, allocations: 19.17 MB / 6.162 GB, free: 60.17 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01332/13.92, allocations: 1.199 MB / 6.163 GB, free: 59.71 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002567/13.92, allocations: 0.5381 MB / 6.164 GB, free: 59.71 MB / 1.057 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.003661/13.93, allocations: 457.8 kB / 6.164 GB, free: 59.46 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003794/13.93, allocations: 1.082 MB / 6.165 GB, free: 58.88 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02627/13.96, allocations: 12.06 MB / 6.177 GB, free: 58.38 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-05/13.96, allocations: 65.42 kB / 6.177 GB, free: 58.38 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-05/13.96, allocations: 4.625 kB / 6.177 GB, free: 58.38 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01754/13.97, allocations: 10.13 MB / 6.187 GB, free: 57.81 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04824/14.02, allocations: 24.98 MB / 6.211 GB, free: 50.46 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-05/14.02, allocations: 14.2 kB / 6.211 GB, free: 50.46 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004679/14.03, allocations: 1.094 MB / 6.212 GB, free: 50.37 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006702/14.03, allocations: 2.451 MB / 6.215 GB, free: 49.71 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004616/14.04, allocations: 98.75 kB / 6.215 GB, free: 49.68 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4379/14.47, allocations: 18.12 MB / 6.233 GB, free: 187.9 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/14.47, allocations: 21.41 kB / 6.233 GB, free: 187.9 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02565/14.5, allocations: 21.63 MB / 6.254 GB, free: 183 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008054/14.51, allocations: 2.778 MB / 6.256 GB, free: 182.4 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003906/14.51, allocations: 49.19 kB / 6.256 GB, free: 182.4 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009354/14.52, allocations: 0.5897 MB / 6.257 GB, free: 182.4 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006693/14.52, allocations: 380.8 kB / 6.257 GB, free: 182.4 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007309/14.52, allocations: 277.7 kB / 6.258 GB, free: 182.4 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.01213/14.53, allocations: 8.202 MB / 6.266 GB, free: 182.1 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.03194/14.57, allocations: 7.44 MB / 6.273 GB, free: 181.5 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 54 * 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.004576/14.57, allocations: 2.033 MB / 6.275 GB, free: 181.1 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.03648/14.61, allocations: 21.26 MB / 6.296 GB, free: 180.2 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.38e-05/14.61, allocations: 10.62 kB / 6.296 GB, free: 180.2 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.008576/14.62, allocations: 5.086 MB / 6.301 GB, free: 179.9 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02808/14.64, allocations: 5.092 MB / 6.306 GB, free: 179.8 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06383/14.71, allocations: 27.7 MB / 6.333 GB, free: 175 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01672/14.72, allocations: 11.12 MB / 6.344 GB, free: 173.9 MB / 1.057 GB Notification: Performance of SimCode: time 1.232e-06/14.72, allocations: 0 / 6.344 GB, free: 173.9 MB / 1.057 GB Notification: Performance of Templates: time 0.908/15.63, allocations: 301.6 MB / 6.638 GB, free: 166.1 MB / 1.057 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