Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.389/2.389, allocations: 393.5 MB / 408.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 186.8 kB / 0.4902 GB, free: 2.258 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.1 MB / 0.7992 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008665/0.0008664, allocations: 98.33 kB / 0.9396 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004173, allocations: 6.906 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3502, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.281/1.631, allocations: 433.3 MB / 1.652 GB, free: 12.13 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000372/1.631, allocations: 94.33 kB / 1.652 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 18.58/20.21, allocations: 4.712 GB / 6.365 GB, free: 102.4 MB / 1.276 GB Notification: Performance of FrontEnd: time 3.026e-06/20.21, allocations: 4 kB / 6.365 GB, free: 102.4 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.003763/20.22, allocations: 414.1 kB / 6.365 GB, free: 102.4 MB / 1.276 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.06418/20.28, allocations: 16.46 MB / 6.381 GB, free: 92.36 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/20.28, allocations: 11.75 kB / 6.381 GB, free: 92.36 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01425/20.3, allocations: 1.894 MB / 6.383 GB, free: 91.43 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05346/20.35, allocations: 18.24 MB / 6.401 GB, free: 77.48 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001459/20.35, allocations: 0.9707 MB / 6.402 GB, free: 76.51 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007294/20.36, allocations: 1.305 MB / 6.403 GB, free: 75.21 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06572/20.42, allocations: 18.28 MB / 6.421 GB, free: 56.21 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001147/20.43, allocations: 47.64 kB / 6.421 GB, free: 56.16 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006461/20.43, allocations: 0.5256 MB / 6.421 GB, free: 55.64 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004137/20.43, allocations: 347.9 kB / 6.422 GB, free: 55.3 MB / 1.276 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04657/20.48, allocations: 15.62 MB / 6.437 GB, free: 39.67 MB / 1.276 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 1.107/21.59, allocations: 80.85 MB / 6.516 GB, free: 93.41 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02384/21.61, allocations: 11.99 MB / 6.528 GB, free: 92.96 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07433/21.69, allocations: 28.31 MB / 6.555 GB, free: 86.92 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/21.69, allocations: 128.1 kB / 6.555 GB, free: 86.87 MB / 1.292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009832/21.7, allocations: 0.7785 MB / 6.556 GB, free: 86.87 MB / 1.292 GB Notification: Performance of pre-optimization done (n=660): time 2.983e-05/21.7, allocations: 0 / 6.556 GB, free: 86.87 MB / 1.292 GB Notification: Performance of matching and sorting (n=660): time 0.04599/21.74, allocations: 18 MB / 6.574 GB, free: 84.83 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.438e-05/21.74, allocations: 118 kB / 6.574 GB, free: 84.76 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0339/21.78, allocations: 12.17 MB / 6.586 GB, free: 84.1 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.003092/21.78, allocations: 183.6 kB / 6.586 GB, free: 84.07 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.01108/21.79, allocations: 7.155 MB / 6.593 GB, free: 82.05 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.004622/21.79, allocations: 2.316 MB / 6.595 GB, free: 80.76 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00298/21.8, allocations: 232.8 kB / 6.595 GB, free: 80.76 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.001655/21.8, allocations: 0.7747 MB / 6.596 GB, free: 80.43 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01343/21.81, allocations: 5.704 MB / 6.602 GB, free: 80.4 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01605/21.83, allocations: 9.579 MB / 6.611 GB, free: 75.82 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0155/21.84, allocations: 7.594 MB / 6.618 GB, free: 75.72 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002722/21.84, allocations: 32.81 kB / 6.619 GB, free: 75.72 MB / 1.292 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.04572/21.89, allocations: 18.45 MB / 6.637 GB, free: 74.77 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.03634/21.93, allocations: 69.07 MB / 6.704 GB, free: 67.38 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006014/21.93, allocations: 122 kB / 6.704 GB, free: 67.38 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1026/22.03, allocations: 11.86 MB / 6.716 GB, free: 67.23 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01124/22.04, allocations: 2.402 MB / 6.718 GB, free: 67.23 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02147/22.06, allocations: 20.31 MB / 6.738 GB, free: 71.16 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0176/22.08, allocations: 1.11 MB / 6.739 GB, free: 71.07 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00377/22.08, allocations: 0.5454 MB / 6.739 GB, free: 71.07 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/22.08, allocations: 3.156 kB / 6.739 GB, free: 71.07 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04393/22.13, allocations: 17.41 MB / 6.756 GB, free: 70.75 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007211/22.13, allocations: 125.1 kB / 6.757 GB, free: 70.74 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1005/22.23, allocations: 11.86 MB / 6.768 GB, free: 70.36 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01119/22.24, allocations: 2.39 MB / 6.771 GB, free: 70.35 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0192/22.26, allocations: 18.51 MB / 6.789 GB, free: 59.99 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01719/22.28, allocations: 1.052 MB / 6.79 GB, free: 59.88 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004166/22.28, allocations: 0.5417 MB / 6.79 GB, free: 59.88 MB / 1.37 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.02083/22.3, allocations: 5.812 MB / 6.796 GB, free: 59.61 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006741/22.31, allocations: 1.164 MB / 6.797 GB, free: 58.99 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0332/22.34, allocations: 11.65 MB / 6.808 GB, free: 58.39 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.67e-05/22.34, allocations: 67.81 kB / 6.808 GB, free: 58.39 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.978e-05/22.34, allocations: 3.531 kB / 6.808 GB, free: 58.39 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02173/22.36, allocations: 9.63 MB / 6.818 GB, free: 57.8 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08475/22.45, allocations: 25.88 MB / 6.843 GB, free: 56.41 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-05/22.45, allocations: 17.11 kB / 6.843 GB, free: 56.41 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006579/22.46, allocations: 1.132 MB / 6.844 GB, free: 56.4 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05368/22.51, allocations: 6.412 MB / 6.85 GB, free: 55.96 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002929/22.51, allocations: 189.3 kB / 6.851 GB, free: 55.96 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02021/22.53, allocations: 17.91 MB / 6.868 GB, free: 59.88 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.057e-05/22.53, allocations: 17.09 kB / 6.868 GB, free: 59.88 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04535/22.58, allocations: 21.45 MB / 6.889 GB, free: 53.37 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01579/22.59, allocations: 2.801 MB / 6.892 GB, free: 51.85 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007513/22.6, allocations: 159.7 kB / 6.892 GB, free: 51.75 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01639/22.62, allocations: 0.7616 MB / 6.893 GB, free: 51.57 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002733/22.62, allocations: 447.9 kB / 6.893 GB, free: 51.49 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002757/22.62, allocations: 296.5 kB / 6.893 GB, free: 51.43 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.0289/22.65, allocations: 9.304 MB / 6.903 GB, free: 48.16 MB / 1.385 GB Notification: Performance of sort global known variables: time 6.52e-07/22.65, allocations: 0 / 6.903 GB, free: 48.16 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.05039/22.7, allocations: 7.906 MB / 6.91 GB, free: 46.54 MB / 1.385 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.007076/22.71, allocations: 2.153 MB / 6.912 GB, free: 45.73 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.04896/22.76, allocations: 22.08 MB / 6.934 GB, free: 37.69 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-05/22.76, allocations: 12.38 kB / 6.934 GB, free: 37.69 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.0116/22.77, allocations: 5.432 MB / 6.939 GB, free: 35.61 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03415/22.8, allocations: 6.114 MB / 6.945 GB, free: 34.35 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09279/22.9, allocations: 37.12 MB / 6.981 GB, free: 13.18 MB / 1.385 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0228/22.92, allocations: 10.19 MB / 6.991 GB, free: 5.699 MB / 1.385 GB Notification: Performance of simCode: alias equations: time 0.03512/22.96, allocations: 6.154 MB / 6.997 GB, free: 1.73 MB / 1.385 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007384/22.96, allocations: 0.8805 MB / 6.998 GB, free: 0.9102 MB / 1.385 GB Notification: Performance of SimCode: time 1.523e-06/22.96, allocations: 0 / 6.998 GB, free: 0.9102 MB / 1.385 GB Notification: Performance of Templates: time 2.418/25.38, allocations: 271.7 MB / 7.264 GB, free: 179.1 MB / 1.386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.csv","../files/Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches