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.497/1.497, allocations: 249.3 MB / 261.8 MB, free: 5.957 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.001196/0.001196, allocations: 178.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0008672/0.0008674, allocations: 78.55 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.834e-05/3.837e-05, allocations: 8 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2627, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.752/2.015, allocations: 413 MB / 1.295 GB, free: 320.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/2.015, allocations: 94.27 kB / 1.295 GB, free: 320.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 18.71/20.72, allocations: 4.476 GB / 5.771 GB, free: 63.63 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.895e-06/20.72, allocations: 4 kB / 5.771 GB, free: 63.62 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.003351/20.73, allocations: 402.2 kB / 5.772 GB, free: 63.56 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.0546/20.78, allocations: 13.62 MB / 5.785 GB, free: 58.57 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/20.78, allocations: 10.06 kB / 5.785 GB, free: 58.57 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/20.79, allocations: 1.871 MB / 5.787 GB, free: 57.68 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05363/20.85, allocations: 17.68 MB / 5.804 GB, free: 52.3 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001353/20.85, allocations: 0.9787 MB / 5.805 GB, free: 51.52 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006764/20.86, allocations: 1.302 MB / 5.807 GB, free: 50.22 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05646/20.91, allocations: 17.95 MB / 5.824 GB, free: 32.49 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007599/20.91, allocations: 39.66 kB / 5.824 GB, free: 32.45 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00489/20.92, allocations: 0.5277 MB / 5.825 GB, free: 31.93 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002937/20.92, allocations: 363.8 kB / 5.825 GB, free: 31.57 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03561/20.95, allocations: 15.33 MB / 5.84 GB, free: 16.23 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 0.9575/21.91, allocations: 80.71 MB / 5.919 GB, free: 69.23 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02142/21.93, allocations: 11.86 MB / 5.93 GB, free: 68.76 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01013/21.94, allocations: 6.038 MB / 5.936 GB, free: 68.69 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06626/22.01, allocations: 28.63 MB / 5.964 GB, free: 62.48 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/22.01, allocations: 118.1 kB / 5.964 GB, free: 62.43 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009519/22.02, allocations: 0.769 MB / 5.965 GB, free: 62.17 MB / 1.026 GB Notification: Performance of pre-optimization done (n=651): time 4.04e-05/22.02, allocations: 0 / 5.965 GB, free: 62.17 MB / 1.026 GB Notification: Performance of matching and sorting (n=651): time 0.02403/22.04, allocations: 10.15 MB / 5.975 GB, free: 61.2 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/22.04, allocations: 122.1 kB / 5.975 GB, free: 61.13 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03246/22.08, allocations: 11.91 MB / 5.987 GB, free: 60.43 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.003073/22.08, allocations: 181.2 kB / 5.987 GB, free: 60.39 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.009918/22.09, allocations: 7.114 MB / 5.994 GB, free: 58.21 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.003886/22.09, allocations: 2.287 MB / 5.996 GB, free: 56.77 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002045/22.1, allocations: 232 kB / 5.996 GB, free: 56.77 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.001035/22.1, allocations: 0.7704 MB / 5.997 GB, free: 56.45 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01112/22.11, allocations: 5.577 MB / 6.002 GB, free: 56.42 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01495/22.12, allocations: 9.454 MB / 6.012 GB, free: 51.84 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01675/22.14, allocations: 7.513 MB / 6.019 GB, free: 51.72 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002899/22.14, allocations: 33.25 kB / 6.019 GB, free: 51.72 MB / 1.026 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.04999/22.19, allocations: 18.19 MB / 6.037 GB, free: 50.77 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.03313/22.22, allocations: 68.62 MB / 6.104 GB, free: 43.38 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006401/22.22, allocations: 120.8 kB / 6.104 GB, free: 43.38 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09347/22.32, allocations: 11.86 MB / 6.116 GB, free: 43.24 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01904/22.34, allocations: 2.397 MB / 6.118 GB, free: 43.24 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03431/22.37, allocations: 20.17 MB / 6.138 GB, free: 47.16 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01782/22.39, allocations: 1.097 MB / 6.139 GB, free: 47.02 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003747/22.39, allocations: 0.5412 MB / 6.139 GB, free: 47.02 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/22.39, allocations: 3.5 kB / 6.139 GB, free: 47.02 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04026/22.43, allocations: 17.17 MB / 6.156 GB, free: 46.6 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005767/22.43, allocations: 120.2 kB / 6.156 GB, free: 46.6 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08938/22.52, allocations: 11.87 MB / 6.168 GB, free: 45.84 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0102/22.53, allocations: 2.375 MB / 6.17 GB, free: 45.83 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0193/22.55, allocations: 18.37 MB / 6.188 GB, free: 35.47 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01962/22.57, allocations: 1.047 MB / 6.189 GB, free: 35.36 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0041/22.58, allocations: 0.5361 MB / 6.189 GB, free: 35.36 MB / 1.104 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.005979/22.58, allocations: 0.7795 MB / 6.19 GB, free: 35.17 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00491/22.59, allocations: 1.147 MB / 6.191 GB, free: 34.56 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03779/22.62, allocations: 11.32 MB / 6.202 GB, free: 33.96 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001664/22.62, allocations: 62.97 kB / 6.202 GB, free: 33.96 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.229e-05/22.62, allocations: 5.656 kB / 6.202 GB, free: 33.96 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0321/22.66, allocations: 9.317 MB / 6.212 GB, free: 33.38 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07538/22.73, allocations: 25.41 MB / 6.236 GB, free: 26.67 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.668e-05/22.73, allocations: 13.5 kB / 6.236 GB, free: 26.67 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005906/22.74, allocations: 1.131 MB / 6.237 GB, free: 26.58 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04575/22.78, allocations: 6.418 MB / 6.244 GB, free: 25.59 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001995/22.79, allocations: 193.2 kB / 6.244 GB, free: 25.49 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01416/22.8, allocations: 17.78 MB / 6.261 GB, free: 26.98 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/22.8, allocations: 24.69 kB / 6.261 GB, free: 26.97 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03094/22.83, allocations: 21.02 MB / 6.282 GB, free: 15.2 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01127/22.84, allocations: 2.729 MB / 6.285 GB, free: 13.71 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00587/22.85, allocations: 170.8 kB / 6.285 GB, free: 13.61 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01309/22.86, allocations: 0.7513 MB / 6.285 GB, free: 13.42 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002118/22.86, allocations: 442.5 kB / 6.286 GB, free: 13.13 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001709/22.87, allocations: 273.3 kB / 6.286 GB, free: 12.91 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.0218/22.89, allocations: 9.075 MB / 6.295 GB, free: 5.004 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.113e-06/22.89, allocations: 3.938 kB / 6.295 GB, free: 5 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.9306/23.82, allocations: 7.861 MB / 6.303 GB, free: 190.2 MB / 1.12 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.009768/23.83, allocations: 2.114 MB / 6.305 GB, free: 189.8 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.06144/23.89, allocations: 22.02 MB / 6.326 GB, free: 188.8 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.399e-05/23.89, allocations: 6.062 kB / 6.326 GB, free: 188.8 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.01585/23.91, allocations: 5.316 MB / 6.331 GB, free: 188.4 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03711/23.94, allocations: 6.106 MB / 6.337 GB, free: 188.3 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07039/24.01, allocations: 27.32 MB / 6.364 GB, free: 183.3 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02109/24.03, allocations: 10.14 MB / 6.374 GB, free: 182.2 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.04261/24.08, allocations: 8.955 MB / 6.383 GB, free: 181.8 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005132/24.08, allocations: 0.6786 MB / 6.383 GB, free: 181.8 MB / 1.12 GB Notification: Performance of SimCode: time 1.783e-06/24.08, allocations: 4 kB / 6.383 GB, free: 181.8 MB / 1.12 GB Notification: Performance of Templates: time 0.5237/24.61, allocations: 287.6 MB / 6.664 GB, free: 52.56 MB / 1.12 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