Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.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_latest_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_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.275/2.275, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001057/0.001057, allocations: 187.9 kB / 0.4902 GB, free: 2.227 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.613/1.613, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.001091/0.001091, allocations: 98.2 kB / 0.9396 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004207/0.0004208, allocations: 8.531 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3536, allocations: 143 MB / 1.229 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.287/1.641, allocations: 420 MB / 1.639 GB, free: 5.602 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003757/1.641, allocations: 100.4 kB / 1.639 GB, free: 5.547 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 9.154/10.8, allocations: 2.258 GB / 3.898 GB, free: 192.8 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.926e-06/10.8, allocations: 0 / 3.898 GB, free: 192.8 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.001457/10.8, allocations: 203.7 kB / 3.898 GB, free: 192.6 MB / 1.182 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.02861/10.83, allocations: 7.284 MB / 3.905 GB, free: 185.3 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/10.83, allocations: 12.03 kB / 3.905 GB, free: 185.3 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006238/10.83, allocations: 0.8538 MB / 3.906 GB, free: 184.4 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02215/10.85, allocations: 7.952 MB / 3.914 GB, free: 176.5 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000574/10.85, allocations: 460 kB / 3.914 GB, free: 176.1 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003245/10.86, allocations: 0.5968 MB / 3.915 GB, free: 175.5 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0258/10.88, allocations: 8.444 MB / 3.923 GB, free: 166.7 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004338/10.88, allocations: 15.88 kB / 3.923 GB, free: 166.7 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003003/10.89, allocations: 263.1 kB / 3.923 GB, free: 166.5 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003447/10.89, allocations: 247.5 kB / 3.923 GB, free: 166.2 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01959/10.91, allocations: 6.888 MB / 3.93 GB, free: 159.3 MB / 1.182 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 0.06109/10.97, allocations: 34.24 MB / 3.964 GB, free: 123.8 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007527/10.98, allocations: 4.262 MB / 3.968 GB, free: 119.6 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001474/10.98, allocations: 0.9583 MB / 3.969 GB, free: 118.4 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005619/10.98, allocations: 2.365 MB / 3.971 GB, free: 116 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004921/10.99, allocations: 483.4 kB / 3.972 GB, free: 115.6 MB / 1.182 GB Notification: Performance of pre-optimization done (n=317): time 2.125e-05/10.99, allocations: 0 / 3.972 GB, free: 115.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=317): time 0.01457/11, allocations: 7.071 MB / 3.978 GB, free: 108.4 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/11, allocations: 85.91 kB / 3.979 GB, free: 108.3 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01303/11.02, allocations: 5.269 MB / 3.984 GB, free: 103.1 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001196/11.02, allocations: 89.7 kB / 3.984 GB, free: 103 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.004514/11.02, allocations: 3.184 MB / 3.987 GB, free: 99.75 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.002188/11.02, allocations: 1.117 MB / 3.988 GB, free: 98.61 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009994/11.02, allocations: 88 kB / 3.988 GB, free: 98.53 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0004982/11.03, allocations: 487.6 kB / 3.989 GB, free: 98.04 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004097/11.03, allocations: 2.132 MB / 3.991 GB, free: 95.9 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004927/11.03, allocations: 3.66 MB / 3.994 GB, free: 91.53 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004881/11.04, allocations: 2.896 MB / 3.997 GB, free: 88.61 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.553e-05/11.04, allocations: 12 kB / 3.997 GB, free: 88.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01347/11.05, allocations: 6.705 MB / 4.004 GB, free: 81.84 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 8.561e-05/11.05, allocations: 54.95 kB / 4.004 GB, free: 81.78 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.302e-05/11.05, allocations: 48 kB / 4.004 GB, free: 81.73 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/11.05, allocations: 438.1 kB / 4.004 GB, free: 81.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003985/11.06, allocations: 1.03 MB / 4.005 GB, free: 80.27 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005127/11.06, allocations: 5.405 MB / 4.01 GB, free: 74.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00744/11.07, allocations: 482.6 kB / 4.011 GB, free: 74.13 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/11.07, allocations: 220 kB / 4.011 GB, free: 73.91 MB / 1.182 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 () * Number of clocked 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.006742/11.08, allocations: 2.476 MB / 4.013 GB, free: 71.43 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002532/11.08, allocations: 0.5288 MB / 4.014 GB, free: 70.89 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/11.09, allocations: 5.223 MB / 4.019 GB, free: 65.61 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.228e-05/11.09, allocations: 36 kB / 4.019 GB, free: 65.58 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.731e-05/11.09, allocations: 4 kB / 4.019 GB, free: 65.57 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006754/11.1, allocations: 4.496 MB / 4.023 GB, free: 60.98 MB / 1.182 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 postOpt removeSimpleEquations (simulation): time 0.03054/11.13, allocations: 11.83 MB / 4.035 GB, free: 48.98 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/11.13, allocations: 4 kB / 4.035 GB, free: 48.97 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002995/11.13, allocations: 0.6204 MB / 4.036 GB, free: 48.35 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008455/11.13, allocations: 366.7 kB / 4.036 GB, free: 47.99 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005388/11.13, allocations: 91.52 kB / 4.036 GB, free: 47.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004803/11.14, allocations: 5.307 MB / 4.041 GB, free: 42.33 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/11.14, allocations: 0 / 4.041 GB, free: 42.33 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/11.15, allocations: 7.747 MB / 4.049 GB, free: 34.47 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005514/11.16, allocations: 1.264 MB / 4.05 GB, free: 33.18 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002382/11.16, allocations: 71.92 kB / 4.05 GB, free: 33.11 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00769/11.17, allocations: 419.2 kB / 4.051 GB, free: 32.7 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007548/11.17, allocations: 206.1 kB / 4.051 GB, free: 32.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007907/11.17, allocations: 139.9 kB / 4.051 GB, free: 32.36 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.01114/11.18, allocations: 4.103 MB / 4.055 GB, free: 28.28 MB / 1.182 GB Notification: Performance of sort global known variables: time 4.81e-07/11.18, allocations: 0 / 4.055 GB, free: 28.28 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01168/11.19, allocations: 2.062 MB / 4.057 GB, free: 26.21 MB / 1.182 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) * Number of clocked states: 0 () * 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.003029/11.2, allocations: 0.8271 MB / 4.058 GB, free: 25.42 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01069/11.21, allocations: 5.353 MB / 4.063 GB, free: 20.01 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/11.21, allocations: 5.938 kB / 4.063 GB, free: 20.01 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.004955/11.21, allocations: 2.498 MB / 4.065 GB, free: 17.48 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01866/11.23, allocations: 3.171 MB / 4.068 GB, free: 14.39 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8598/12.09, allocations: 16.08 MB / 4.084 GB, free: 231.5 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009782/12.1, allocations: 4.752 MB / 4.089 GB, free: 230.7 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.01088/12.11, allocations: 2.137 MB / 4.091 GB, free: 230.6 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002727/12.11, allocations: 469.5 kB / 4.091 GB, free: 230.6 MB / 1.182 GB Notification: Performance of SimCode: time 1.203e-06/12.11, allocations: 6.719 kB / 4.091 GB, free: 230.6 MB / 1.182 GB Notification: Performance of Templates: time 0.2106/12.32, allocations: 117.5 MB / 4.206 GB, free: 225.5 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches