Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.125/2.125, allocations: 387.1 MB / 399.7 MB, free: 9.543 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.0009977/0.0009976, allocations: 176.2 kB / 492.3 MB, free: 0.6055 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.434/1.434, allocations: 221.3 MB / 0.7871 GB, free: 12.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.001083/0.001083, allocations: 97.95 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.175e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3339, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.368/1.702, allocations: 419.1 MB / 1.622 GB, free: 11.32 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/1.703, allocations: 90.88 kB / 1.622 GB, free: 11.27 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 9.109/10.81, allocations: 2.253 GB / 3.875 GB, free: 68.27 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.725e-06/10.81, allocations: 3.938 kB / 3.875 GB, free: 68.27 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001456/10.81, allocations: 191.9 kB / 3.875 GB, free: 68.08 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02507/10.84, allocations: 6.143 MB / 3.881 GB, free: 61.86 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/10.84, allocations: 12.03 kB / 3.881 GB, free: 61.85 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006848/10.85, allocations: 0.8499 MB / 3.882 GB, free: 60.99 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02316/10.87, allocations: 7.919 MB / 3.889 GB, free: 53 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006035/10.87, allocations: 464.1 kB / 3.89 GB, free: 52.55 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003917/10.87, allocations: 0.5936 MB / 3.89 GB, free: 51.95 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03438/10.91, allocations: 8.324 MB / 3.899 GB, free: 43.31 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005398/10.91, allocations: 19.88 kB / 3.899 GB, free: 43.29 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003533/10.91, allocations: 264 kB / 3.899 GB, free: 43.03 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003705/10.91, allocations: 239.5 kB / 3.899 GB, free: 42.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02016/10.93, allocations: 6.725 MB / 3.906 GB, free: 36.07 MB / 1.167 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.06345/11, allocations: 34.22 MB / 3.939 GB, free: 212 kB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.9496/11.95, allocations: 4.166 MB / 3.943 GB, free: 172.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00628/11.95, allocations: 3.468 MB / 3.947 GB, free: 172.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/11.95, allocations: 0.953 MB / 3.947 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004817/11.96, allocations: 2.287 MB / 3.95 GB, free: 171.1 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00425/11.96, allocations: 491.4 kB / 3.95 GB, free: 171.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=317): time 2.014e-05/11.96, allocations: 0 / 3.95 GB, free: 171.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=317): time 0.01002/11.97, allocations: 4.52 MB / 3.955 GB, free: 171 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/11.97, allocations: 88.16 kB / 3.955 GB, free: 170.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01246/11.98, allocations: 5.215 MB / 3.96 GB, free: 170.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001212/11.99, allocations: 87.33 kB / 3.96 GB, free: 170.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.005421/11.99, allocations: 3.192 MB / 3.963 GB, free: 169.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003336/11.99, allocations: 1.112 MB / 3.964 GB, free: 169.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005417/12, allocations: 90.81 kB / 3.964 GB, free: 169.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0005786/12, allocations: 497 kB / 3.965 GB, free: 168.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004931/12, allocations: 2.047 MB / 3.967 GB, free: 168.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005341/12.01, allocations: 3.575 MB / 3.97 GB, free: 167 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005937/12.01, allocations: 2.831 MB / 3.973 GB, free: 166.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.276e-05/12.01, allocations: 15.47 kB / 3.973 GB, free: 166.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.02865/12.04, allocations: 6.552 MB / 3.979 GB, free: 166.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003819/12.04, allocations: 53.72 kB / 3.979 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003493/12.04, allocations: 48.69 kB / 3.979 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001989/12.04, allocations: 437.3 kB / 3.98 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00601/12.05, allocations: 1.03 MB / 3.981 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006818/12.06, allocations: 5.305 MB / 3.986 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0105/12.07, allocations: 475.8 kB / 3.986 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001815/12.07, allocations: 215.8 kB / 3.987 GB, free: 163.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002956/12.07, allocations: 396.7 kB / 3.987 GB, free: 163.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00289/12.07, allocations: 0.5291 MB / 3.988 GB, free: 163.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/12.09, allocations: 5.091 MB / 3.993 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.942e-05/12.09, allocations: 34.39 kB / 3.993 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.609e-05/12.09, allocations: 7.766 kB / 3.993 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007438/12.1, allocations: 4.353 MB / 3.997 GB, free: 162.6 MB / 1.167 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 postOpt removeSimpleEquations (simulation): time 0.03427/12.13, allocations: 11.84 MB / 4.008 GB, free: 161.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/12.13, allocations: 0 / 4.008 GB, free: 161.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003194/12.13, allocations: 0.6292 MB / 4.009 GB, free: 161.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009227/12.13, allocations: 366.6 kB / 4.009 GB, free: 161.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007064/12.14, allocations: 87.25 kB / 4.009 GB, free: 161.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005106/12.14, allocations: 5.205 MB / 4.015 GB, free: 159 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/12.14, allocations: 3.938 kB / 4.015 GB, free: 159 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/12.16, allocations: 7.533 MB / 4.022 GB, free: 158.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005806/12.16, allocations: 1.268 MB / 4.023 GB, free: 157.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004016/12.17, allocations: 69.73 kB / 4.023 GB, free: 157.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00866/12.17, allocations: 411.7 kB / 4.024 GB, free: 157.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001542/12.18, allocations: 194.8 kB / 4.024 GB, free: 157.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001255/12.18, allocations: 143.7 kB / 4.024 GB, free: 157.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01071/12.19, allocations: 4.05 MB / 4.028 GB, free: 157.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.81e-07/12.19, allocations: 2.844 kB / 4.028 GB, free: 157.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01233/12.2, allocations: 2.053 MB / 4.03 GB, free: 157.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003138/12.2, allocations: 0.8209 MB / 4.031 GB, free: 157.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01093/12.21, allocations: 5.197 MB / 4.036 GB, free: 157 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/12.21, allocations: 6.281 kB / 4.036 GB, free: 157 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004796/12.22, allocations: 2.429 MB / 4.038 GB, free: 156.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01919/12.24, allocations: 3.164 MB / 4.041 GB, free: 156.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03668/12.27, allocations: 11.69 MB / 4.053 GB, free: 154.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009918/12.28, allocations: 4.756 MB / 4.057 GB, free: 153.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.009376/12.29, allocations: 2.103 MB / 4.059 GB, free: 153.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002404/12.3, allocations: 470.8 kB / 4.06 GB, free: 153.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.934e-06/12.3, allocations: 0 / 4.06 GB, free: 153.7 MB / 1.167 GB Notification: Performance of Templates: time 0.2105/12.51, allocations: 119.4 MB / 4.176 GB, free: 148.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches