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.024/2.024, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.0009049/0.0009052, allocations: 184.8 kB / 487.4 MB, free: 5.035 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.316/1.316, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008252/0.0008252, allocations: 95.84 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.296e-05/1.299e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2389, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.268, allocations: 431.8 MB / 1.628 GB, free: 6.98 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/1.269, allocations: 96.05 kB / 1.628 GB, free: 6.93 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 15.98/17.25, allocations: 4.677 GB / 6.305 GB, free: 4.297 MB / 1.276 GB Notification: Performance of FrontEnd: time 2.415e-06/17.25, allocations: 3.938 kB / 6.305 GB, free: 4.293 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.003335/17.26, allocations: 407.7 kB / 6.305 GB, free: 3.895 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 1.577/18.83, allocations: 13.68 MB / 6.319 GB, free: 95.08 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/18.83, allocations: 8.875 kB / 6.319 GB, free: 95.08 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01371/18.85, allocations: 1.894 MB / 6.321 GB, free: 94.18 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05252/18.9, allocations: 18.14 MB / 6.338 GB, free: 92.74 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009698/18.9, allocations: 405.3 kB / 6.339 GB, free: 92.74 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006147/18.91, allocations: 0.7619 MB / 6.339 GB, free: 92.73 MB / 1.276 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03869/18.95, allocations: 14.46 MB / 6.354 GB, free: 92.68 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05518/19, allocations: 16.13 MB / 6.369 GB, free: 90.55 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000908/19, allocations: 40.34 kB / 6.369 GB, free: 90.54 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004797/19.01, allocations: 26.41 kB / 6.369 GB, free: 90.54 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003555/19.01, allocations: 352.6 kB / 6.37 GB, free: 90.54 MB / 1.276 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.1307/19.14, allocations: 78.56 MB / 6.446 GB, free: 57.37 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01827/19.16, allocations: 11.29 MB / 6.457 GB, free: 57.18 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008295/19.16, allocations: 5.812 MB / 6.463 GB, free: 57.1 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0557/19.22, allocations: 28.34 MB / 6.491 GB, free: 50.52 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/19.22, allocations: 123.8 kB / 6.491 GB, free: 50.47 MB / 1.276 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009329/19.23, allocations: 0.5481 MB / 6.491 GB, free: 50.03 MB / 1.276 GB Notification: Performance of pre-optimization done (n=651): time 3.95e-05/19.23, allocations: 0 / 6.491 GB, free: 50.03 MB / 1.276 GB Notification: Performance of matching and sorting (n=651): time 0.02624/19.26, allocations: 10.48 MB / 6.502 GB, free: 49.09 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.154e-05/19.26, allocations: 119.8 kB / 6.502 GB, free: 49.02 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02927/19.28, allocations: 10.83 MB / 6.512 GB, free: 64.25 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.003444/19.29, allocations: 34.58 kB / 6.512 GB, free: 64.22 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.008684/19.3, allocations: 7.13 MB / 6.519 GB, free: 61.3 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.004232/19.3, allocations: 2.21 MB / 6.522 GB, free: 59.86 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002946/19.3, allocations: 3.188 kB / 6.522 GB, free: 59.86 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.001719/19.31, allocations: 0.7719 MB / 6.522 GB, free: 59.53 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01153/19.32, allocations: 5.356 MB / 6.528 GB, free: 59.51 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01305/19.33, allocations: 9.159 MB / 6.536 GB, free: 54.95 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02108/19.35, allocations: 9.477 MB / 6.546 GB, free: 54.85 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002339/19.35, allocations: 34.12 kB / 6.546 GB, free: 54.85 MB / 1.292 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.04605/19.4, allocations: 19.11 MB / 6.564 GB, free: 53.92 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.02863/19.43, allocations: 67.19 MB / 6.63 GB, free: 48.68 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004191/19.43, allocations: 121.3 kB / 6.63 GB, free: 48.68 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01218/19.44, allocations: 4.034 MB / 6.634 GB, free: 48.54 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009924/19.45, allocations: 2.403 MB / 6.636 GB, free: 48.54 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02053/19.47, allocations: 20.63 MB / 6.657 GB, free: 36.62 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01431/19.48, allocations: 0.8692 MB / 6.657 GB, free: 36.53 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002955/19.49, allocations: 0.5421 MB / 6.658 GB, free: 36.53 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/19.49, allocations: 1.938 kB / 6.658 GB, free: 36.53 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04037/19.53, allocations: 17.9 MB / 6.675 GB, free: 36.2 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004218/19.53, allocations: 119.8 kB / 6.676 GB, free: 36.2 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01131/19.54, allocations: 4.055 MB / 6.68 GB, free: 36.06 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009189/19.55, allocations: 2.373 MB / 6.682 GB, free: 36.06 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01879/19.57, allocations: 18.83 MB / 6.7 GB, free: 41.82 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01279/19.58, allocations: 0.816 MB / 6.701 GB, free: 41.76 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002867/19.58, allocations: 0.5385 MB / 6.702 GB, free: 41.76 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 () * 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.004143/19.59, allocations: 453.3 kB / 6.702 GB, free: 41.41 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003924/19.59, allocations: 1.103 MB / 6.703 GB, free: 40.82 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02521/19.62, allocations: 11.45 MB / 6.714 GB, free: 38.19 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.493e-05/19.62, allocations: 65.8 kB / 6.714 GB, free: 38.19 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.904e-05/19.62, allocations: 3.719 kB / 6.714 GB, free: 38.19 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01754/19.63, allocations: 9.658 MB / 6.724 GB, free: 34.6 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05138/19.69, allocations: 24.33 MB / 6.747 GB, free: 25.13 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.493e-05/19.69, allocations: 11.09 kB / 6.748 GB, free: 25.13 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004922/19.69, allocations: 1.13 MB / 6.749 GB, free: 25.04 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006599/19.7, allocations: 2.472 MB / 6.751 GB, free: 24.37 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00111/19.7, allocations: 101.1 kB / 6.751 GB, free: 24.35 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01454/19.71, allocations: 17.93 MB / 6.769 GB, free: 9.992 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.437e-05/19.71, allocations: 26.61 kB / 6.769 GB, free: 9.98 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03191/19.74, allocations: 21.04 MB / 6.789 GB, free: 14.31 MB / 1.386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009857/19.75, allocations: 2.729 MB / 6.792 GB, free: 12.84 MB / 1.386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005009/19.76, allocations: 49.98 kB / 6.792 GB, free: 12.82 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01075/19.77, allocations: 0.6332 MB / 6.793 GB, free: 12.78 MB / 1.386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001622/19.77, allocations: 444.4 kB / 6.793 GB, free: 12.7 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001571/19.77, allocations: 293.2 kB / 6.793 GB, free: 12.64 MB / 1.386 GB Notification: Performance of sorting global known variables: time 0.01944/19.79, allocations: 8.094 MB / 6.801 GB, free: 9.551 MB / 1.386 GB Notification: Performance of sort global known variables: time 8.21e-07/19.79, allocations: 0 / 6.801 GB, free: 9.551 MB / 1.386 GB Notification: Performance of remove unused functions: time 0.03681/19.83, allocations: 7.528 MB / 6.808 GB, free: 8.27 MB / 1.386 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.005837/19.84, allocations: 2.054 MB / 6.81 GB, free: 7.629 MB / 1.386 GB Notification: Performance of simCode: created initialization part: time 0.7897/20.63, allocations: 20.82 MB / 6.831 GB, free: 197.7 MB / 1.386 GB Notification: Performance of simCode: created event and clocks part: time 2.386e-05/20.63, allocations: 7.875 kB / 6.831 GB, free: 197.7 MB / 1.386 GB Notification: Performance of simCode: created simulation system equations: time 0.008387/20.63, allocations: 4.969 MB / 6.836 GB, free: 197.3 MB / 1.386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02707/20.66, allocations: 5.35 MB / 6.841 GB, free: 197.2 MB / 1.386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05309/20.71, allocations: 26.96 MB / 6.867 GB, free: 192.3 MB / 1.386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01646/20.73, allocations: 10.19 MB / 6.877 GB, free: 191.2 MB / 1.386 GB Notification: Performance of simCode: alias equations: time 0.02858/20.76, allocations: 8.513 MB / 6.886 GB, free: 191.1 MB / 1.386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002785/20.76, allocations: 0.6696 MB / 6.886 GB, free: 191.1 MB / 1.386 GB Notification: Performance of SimCode: time 8.21e-07/20.76, allocations: 1.875 kB / 6.886 GB, free: 191.1 MB / 1.386 GB Notification: Performance of Templates: time 0.3329/21.1, allocations: 247.3 MB / 7.128 GB, free: 174.8 MB / 1.386 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