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.013/2.013, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001008/0.001008, allocations: 168.9 kB / 487.4 MB, free: 5.047 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.29/1.29, allocations: 221.5 MB / 0.7824 GB, free: 0.918 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.0008442/0.0008444, allocations: 99.72 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.525e-05/1.526e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2166, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.218, allocations: 418.5 MB / 1.615 GB, free: 4.039 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/1.219, allocations: 89.95 kB / 1.615 GB, free: 3.996 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 7.118/8.336, allocations: 2.241 GB / 3.856 GB, free: 105.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.143e-06/8.336, allocations: 0 / 3.856 GB, free: 105.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0007542/8.337, allocations: 195.8 kB / 3.856 GB, free: 105 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.01548/8.353, allocations: 6.146 MB / 3.862 GB, free: 98.81 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/8.353, allocations: 12.03 kB / 3.862 GB, free: 98.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004324/8.357, allocations: 0.8461 MB / 3.863 GB, free: 97.94 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01373/8.371, allocations: 7.927 MB / 3.871 GB, free: 89.95 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/8.371, allocations: 196 kB / 3.871 GB, free: 89.76 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001105/8.372, allocations: 359.9 kB / 3.871 GB, free: 89.41 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009978/8.382, allocations: 6.318 MB / 3.878 GB, free: 83.08 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/8.393, allocations: 7.452 MB / 3.885 GB, free: 75.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001193/8.393, allocations: 15.88 kB / 3.885 GB, free: 75.29 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005381/8.393, allocations: 12 kB / 3.885 GB, free: 75.28 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001734/8.393, allocations: 243.5 kB / 3.885 GB, free: 75.04 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.032/8.425, allocations: 33.05 MB / 3.917 GB, free: 40.38 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004101/8.43, allocations: 4.017 MB / 3.921 GB, free: 36.38 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002954/8.433, allocations: 3.092 MB / 3.924 GB, free: 33.28 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009167/8.433, allocations: 0.9661 MB / 3.925 GB, free: 32.12 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002447/8.436, allocations: 2.186 MB / 3.927 GB, free: 29.91 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002483/8.438, allocations: 352.5 kB / 3.928 GB, free: 29.56 MB / 1.167 GB Notification: Performance of pre-optimization done (n=317): time 6.452e-06/8.438, allocations: 4 kB / 3.928 GB, free: 29.55 MB / 1.167 GB Notification: Performance of matching and sorting (n=317): time 0.005942/8.444, allocations: 4.537 MB / 3.932 GB, free: 24.96 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/8.444, allocations: 85.91 kB / 3.932 GB, free: 24.87 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004746/8.449, allocations: 4.323 MB / 3.937 GB, free: 20.55 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002961/8.45, allocations: 29.7 kB / 3.937 GB, free: 20.51 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002084/8.452, allocations: 3.16 MB / 3.94 GB, free: 17.32 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007617/8.452, allocations: 1.078 MB / 3.941 GB, free: 16.23 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/8.453, allocations: 0 / 3.941 GB, free: 16.23 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001648/8.453, allocations: 491.6 kB / 3.941 GB, free: 15.74 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/8.455, allocations: 1.965 MB / 3.943 GB, free: 13.77 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002454/8.457, allocations: 3.461 MB / 3.946 GB, free: 9.598 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003473/8.461, allocations: 2.952 MB / 3.949 GB, free: 6.629 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-05/8.461, allocations: 16 kB / 3.949 GB, free: 6.613 MB / 1.167 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.007933/8.469, allocations: 6.228 MB / 3.955 GB, free: 348 kB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.438e-05/8.469, allocations: 53.69 kB / 3.955 GB, free: 288 kB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.72e-05/8.469, allocations: 52 kB / 3.956 GB, free: 236 kB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6304/9.099, allocations: 424 kB / 3.956 GB, free: 191.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004789/9.104, allocations: 1.031 MB / 3.957 GB, free: 191.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005371/9.109, allocations: 5.133 MB / 3.962 GB, free: 189 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00601/9.115, allocations: 382.2 kB / 3.962 GB, free: 189 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001029/9.117, allocations: 222.4 kB / 3.963 GB, free: 189 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.000949/9.117, allocations: 249.6 kB / 3.963 GB, free: 188.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001409/9.119, allocations: 481.1 kB / 3.963 GB, free: 188.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009362/9.128, allocations: 5.012 MB / 3.968 GB, free: 188.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.133e-05/9.128, allocations: 31.53 kB / 3.968 GB, free: 188.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/9.128, allocations: 7.938 kB / 3.968 GB, free: 188.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007007/9.135, allocations: 4.411 MB / 3.972 GB, free: 188.2 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.02206/9.157, allocations: 11.13 MB / 3.983 GB, free: 187.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/9.158, allocations: 3.562 kB / 3.983 GB, free: 187.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00247/9.16, allocations: 0.628 MB / 3.984 GB, free: 187.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006802/9.161, allocations: 356.7 kB / 3.984 GB, free: 187.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002092/9.161, allocations: 45.53 kB / 3.984 GB, free: 187.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004207/9.165, allocations: 5.056 MB / 3.989 GB, free: 185 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/9.165, allocations: 6.469 kB / 3.989 GB, free: 185 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/9.176, allocations: 7.445 MB / 3.997 GB, free: 184.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003701/9.18, allocations: 1.197 MB / 3.998 GB, free: 183.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001544/9.181, allocations: 15.12 kB / 3.998 GB, free: 183.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004428/9.186, allocations: 364.2 kB / 3.998 GB, free: 183.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004025/9.186, allocations: 191.9 kB / 3.998 GB, free: 183.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000364/9.186, allocations: 140.8 kB / 3.998 GB, free: 183.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.006323/9.193, allocations: 3.279 MB / 4.002 GB, free: 183.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.11e-07/9.193, allocations: 4.344 kB / 4.002 GB, free: 183.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01023/9.203, allocations: 2.026 MB / 4.004 GB, free: 183.6 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.002498/9.206, allocations: 0.7776 MB / 4.004 GB, free: 183.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.009632/9.215, allocations: 4.947 MB / 4.009 GB, free: 183.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/9.215, allocations: 2.062 kB / 4.009 GB, free: 183.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004207/9.219, allocations: 2.342 MB / 4.011 GB, free: 182.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01408/9.234, allocations: 2.486 MB / 4.014 GB, free: 182.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02485/9.258, allocations: 11.32 MB / 4.025 GB, free: 180.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007314/9.266, allocations: 4.745 MB / 4.03 GB, free: 179.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.007537/9.273, allocations: 1.888 MB / 4.031 GB, free: 179.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001897/9.275, allocations: 443.1 kB / 4.032 GB, free: 179.8 MB / 1.167 GB Notification: Performance of SimCode: time 8.51e-07/9.275, allocations: 0.875 kB / 4.032 GB, free: 179.8 MB / 1.167 GB Notification: Performance of Templates: time 0.1389/9.414, allocations: 93.28 MB / 4.123 GB, free: 175.4 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