Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001245/0.001245, allocations: 183.3 kB / 498.1 MB, free: 5.723 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.564/1.564, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.000853/0.000853, allocations: 94.94 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004054/0.0004052, allocations: 8.922 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3585, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.297/1.656, allocations: 432.5 MB / 1.645 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003808/1.656, allocations: 98.39 kB / 1.645 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 18.47/20.12, allocations: 4.712 GB / 6.357 GB, free: 113 MB / 1.276 GB Notification: Performance of FrontEnd: time 2.535e-06/20.12, allocations: 0 / 6.357 GB, free: 113 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.002894/20.13, allocations: 410.4 kB / 6.358 GB, free: 113 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.07227/20.2, allocations: 16.48 MB / 6.374 GB, free: 106.9 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/20.2, allocations: 11.25 kB / 6.374 GB, free: 106.9 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01708/20.22, allocations: 1.896 MB / 6.376 GB, free: 106 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05658/20.27, allocations: 18.23 MB / 6.394 GB, free: 97.27 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001595/20.27, allocations: 0.9745 MB / 6.395 GB, free: 96.82 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007721/20.28, allocations: 1.301 MB / 6.396 GB, free: 96.39 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06201/20.34, allocations: 18.28 MB / 6.414 GB, free: 82.48 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009913/20.34, allocations: 43.5 kB / 6.414 GB, free: 82.44 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0065/20.35, allocations: 0.5343 MB / 6.414 GB, free: 81.91 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003544/20.35, allocations: 359.4 kB / 6.415 GB, free: 81.56 MB / 1.276 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04704/20.4, allocations: 15.6 MB / 6.43 GB, free: 65.94 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.207/21.61, allocations: 80.84 MB / 6.509 GB, free: 127.5 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02796/21.63, allocations: 11.98 MB / 6.521 GB, free: 127.1 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08225/21.72, allocations: 28.31 MB / 6.548 GB, free: 121.1 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/21.72, allocations: 131.7 kB / 6.548 GB, free: 121 MB / 1.292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01363/21.73, allocations: 0.7733 MB / 6.549 GB, free: 121 MB / 1.292 GB Notification: Performance of pre-optimization done (n=660): time 8.309e-05/21.73, allocations: 0 / 6.549 GB, free: 121 MB / 1.292 GB Notification: Performance of matching and sorting (n=660): time 0.05601/21.79, allocations: 18 MB / 6.567 GB, free: 119.1 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/21.79, allocations: 120.9 kB / 6.567 GB, free: 119 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03755/21.82, allocations: 12.17 MB / 6.579 GB, free: 118.4 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.003678/21.83, allocations: 185.1 kB / 6.579 GB, free: 118.4 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.01566/21.84, allocations: 7.149 MB / 6.586 GB, free: 116.3 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.007289/21.85, allocations: 2.316 MB / 6.588 GB, free: 115 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00456/21.86, allocations: 237.2 kB / 6.588 GB, free: 115 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.002421/21.86, allocations: 0.7722 MB / 6.589 GB, free: 114.7 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01553/21.87, allocations: 5.7 MB / 6.595 GB, free: 114.7 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02143/21.89, allocations: 9.586 MB / 6.604 GB, free: 110.1 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01678/21.91, allocations: 7.596 MB / 6.611 GB, free: 110 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003166/21.91, allocations: 35.69 kB / 6.611 GB, free: 110 MB / 1.292 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.05357/21.97, allocations: 18.45 MB / 6.629 GB, free: 109 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.02188/21.99, allocations: 69.07 MB / 6.697 GB, free: 53.63 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007041/21.99, allocations: 120 kB / 6.697 GB, free: 53.63 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1027/22.09, allocations: 11.85 MB / 6.709 GB, free: 53.49 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01283/22.1, allocations: 2.408 MB / 6.711 GB, free: 53.49 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02517/22.13, allocations: 20.31 MB / 6.731 GB, free: 57.41 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02098/22.15, allocations: 1.103 MB / 6.732 GB, free: 57.32 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004557/22.15, allocations: 0.54 MB / 6.732 GB, free: 57.32 MB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/22.15, allocations: 7.781 kB / 6.732 GB, free: 57.32 MB / 1.323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04951/22.2, allocations: 17.42 MB / 6.749 GB, free: 57 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007631/22.21, allocations: 120.8 kB / 6.749 GB, free: 57 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1001/22.31, allocations: 11.87 MB / 6.761 GB, free: 56.8 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01222/22.32, allocations: 2.386 MB / 6.763 GB, free: 56.8 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02327/22.34, allocations: 18.52 MB / 6.781 GB, free: 62.44 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01847/22.36, allocations: 1.047 MB / 6.782 GB, free: 62.33 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00476/22.36, allocations: 0.5399 MB / 6.783 GB, free: 62.33 MB / 1.339 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.02111/22.39, allocations: 5.805 MB / 6.789 GB, free: 62.06 MB / 1.339 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007137/22.39, allocations: 1.165 MB / 6.79 GB, free: 61.44 MB / 1.339 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03726/22.43, allocations: 11.64 MB / 6.801 GB, free: 60.84 MB / 1.339 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001106/22.43, allocations: 63.88 kB / 6.801 GB, free: 60.84 MB / 1.339 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-05/22.43, allocations: 9.875 kB / 6.801 GB, free: 60.84 MB / 1.339 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02534/22.46, allocations: 9.629 MB / 6.811 GB, free: 60.25 MB / 1.339 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09087/22.55, allocations: 25.89 MB / 6.836 GB, free: 58.86 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.289e-05/22.55, allocations: 19.19 kB / 6.836 GB, free: 58.85 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006475/22.55, allocations: 1.131 MB / 6.837 GB, free: 58.85 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05203/22.6, allocations: 6.41 MB / 6.843 GB, free: 58.41 MB / 1.339 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002368/22.61, allocations: 186.9 kB / 6.844 GB, free: 58.41 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01605/22.62, allocations: 17.9 MB / 6.861 GB, free: 46.33 MB / 1.339 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-05/22.62, allocations: 18.72 kB / 6.861 GB, free: 46.33 MB / 1.339 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0423/22.67, allocations: 21.45 MB / 6.882 GB, free: 37.99 MB / 1.339 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01319/22.68, allocations: 2.797 MB / 6.885 GB, free: 36.47 MB / 1.339 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006793/22.69, allocations: 158.4 kB / 6.885 GB, free: 36.38 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01439/22.7, allocations: 0.7658 MB / 6.886 GB, free: 36.19 MB / 1.339 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002677/22.7, allocations: 446.3 kB / 6.886 GB, free: 36.12 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00277/22.71, allocations: 292.5 kB / 6.886 GB, free: 36.06 MB / 1.339 GB Notification: Performance of sorting global known variables: time 0.02714/22.73, allocations: 9.307 MB / 6.895 GB, free: 32.79 MB / 1.339 GB Notification: Performance of sort global known variables: time 3.21e-07/22.73, allocations: 4 kB / 6.895 GB, free: 32.79 MB / 1.339 GB Notification: Performance of remove unused functions: time 0.05366/22.79, allocations: 7.907 MB / 6.903 GB, free: 31.16 MB / 1.339 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.00859/22.8, allocations: 2.155 MB / 6.905 GB, free: 30.34 MB / 1.339 GB Notification: Performance of simCode: created initialization part: time 0.05508/22.85, allocations: 22.07 MB / 6.927 GB, free: 38.32 MB / 1.354 GB Notification: Performance of simCode: created event and clocks part: time 3.31e-05/22.85, allocations: 13.41 kB / 6.927 GB, free: 38.32 MB / 1.354 GB Notification: Performance of simCode: created simulation system equations: time 0.01369/22.86, allocations: 5.427 MB / 6.932 GB, free: 36.24 MB / 1.354 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03522/22.9, allocations: 6.115 MB / 6.938 GB, free: 34.98 MB / 1.354 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09964/23, allocations: 37.1 MB / 6.974 GB, free: 12.75 MB / 1.354 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02744/23.03, allocations: 10.19 MB / 6.984 GB, free: 5.266 MB / 1.354 GB Notification: Performance of simCode: alias equations: time 0.0305/23.06, allocations: 6.159 MB / 6.99 GB, free: 1.297 MB / 1.354 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007069/23.06, allocations: 0.884 MB / 6.991 GB, free: 480 kB / 1.354 GB Notification: Performance of SimCode: time 4.208e-06/23.06, allocations: 0 / 6.991 GB, free: 480 kB / 1.354 GB Notification: Performance of Templates: time 1.482/24.55, allocations: 271.9 MB / 7.257 GB, free: 185.9 MB / 1.37 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.csv","../files/Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches