Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.399/2.399, allocations: 390.3 MB / 402.8 MB, free: 6.719 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.00105/0.00105, allocations: 180.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 221.3 MB / 0.7915 GB, free: 5.426 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.0009739/0.0009738, allocations: 91.95 kB / 0.9317 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.293e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.265, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.051/1.316, allocations: 417.4 MB / 1.626 GB, free: 1.156 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/1.317, allocations: 87.95 kB / 1.626 GB, free: 1.07 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 8.943/10.26, allocations: 2.137 GB / 3.763 GB, free: 152 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.354e-06/10.26, allocations: 0 / 3.763 GB, free: 152 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001058/10.26, allocations: 175.8 kB / 3.763 GB, free: 151.8 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: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.0211/10.28, allocations: 5.525 MB / 3.769 GB, free: 146.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/10.28, allocations: 8.031 kB / 3.769 GB, free: 146.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006026/10.29, allocations: 0.7843 MB / 3.769 GB, free: 145.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0187/10.31, allocations: 7.474 MB / 3.777 GB, free: 137.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004791/10.31, allocations: 415 kB / 3.777 GB, free: 137.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002608/10.31, allocations: 0.5543 MB / 3.778 GB, free: 136.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02356/10.33, allocations: 7.403 MB / 3.785 GB, free: 129.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003615/10.33, allocations: 15.88 kB / 3.785 GB, free: 129.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002178/10.34, allocations: 240 kB / 3.785 GB, free: 129 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002417/10.34, allocations: 226.4 kB / 3.785 GB, free: 128.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01516/10.35, allocations: 5.85 MB / 3.791 GB, free: 122.9 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.05067/10.4, allocations: 29.69 MB / 3.82 GB, free: 91.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005797/10.41, allocations: 3.539 MB / 3.823 GB, free: 88.25 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004189/10.41, allocations: 2.981 MB / 3.826 GB, free: 85.26 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009033/10.41, allocations: 0.8241 MB / 3.827 GB, free: 84.27 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.089e-05/10.41, allocations: 76.61 kB / 3.827 GB, free: 84.18 MB / 1.167 GB Notification: Performance of pre-optimization done (n=267): time 5.71e-06/10.41, allocations: 0 / 3.827 GB, free: 84.18 MB / 1.167 GB Notification: Performance of matching and sorting (n=267): time 0.007494/10.42, allocations: 3.65 MB / 3.831 GB, free: 80.47 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/10.42, allocations: 85.47 kB / 3.831 GB, free: 80.38 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009835/10.43, allocations: 4.834 MB / 3.836 GB, free: 75.54 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008565/10.43, allocations: 81.7 kB / 3.836 GB, free: 75.46 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002792/10.43, allocations: 2.852 MB / 3.838 GB, free: 72.57 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00162/10.44, allocations: 0.9437 MB / 3.839 GB, free: 71.62 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006423/10.44, allocations: 76 kB / 3.839 GB, free: 71.54 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003701/10.44, allocations: 457.9 kB / 3.84 GB, free: 71.09 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002727/10.44, allocations: 1.608 MB / 3.841 GB, free: 69.48 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003247/10.44, allocations: 2.857 MB / 3.844 GB, free: 66.06 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/10.45, allocations: 2.235 MB / 3.846 GB, free: 63.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.45e-05/10.45, allocations: 12 kB / 3.846 GB, free: 63.79 MB / 1.167 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009725/10.46, allocations: 5.301 MB / 3.852 GB, free: 58.44 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/10.46, allocations: 20 kB / 3.852 GB, free: 58.42 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.735e-05/10.46, allocations: 40 kB / 3.852 GB, free: 58.38 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/10.46, allocations: 424.1 kB / 3.852 GB, free: 57.96 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003353/10.46, allocations: 0.8657 MB / 3.853 GB, free: 57.09 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004781/10.47, allocations: 5.304 MB / 3.858 GB, free: 51.52 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006267/10.47, allocations: 0.6588 MB / 3.859 GB, free: 50.86 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000992/10.47, allocations: 188 kB / 3.859 GB, free: 50.68 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.001453/10.47, allocations: 347.6 kB / 3.859 GB, free: 50.33 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00206/10.48, allocations: 486.2 kB / 3.86 GB, free: 49.85 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008575/10.49, allocations: 4.072 MB / 3.864 GB, free: 45.71 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.364e-05/10.49, allocations: 28 kB / 3.864 GB, free: 45.68 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.923e-05/10.49, allocations: 4 kB / 3.864 GB, free: 45.68 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005304/10.49, allocations: 3.528 MB / 3.867 GB, free: 42.04 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02513/10.52, allocations: 10.2 MB / 3.877 GB, free: 31.66 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/10.52, allocations: 4 kB / 3.877 GB, free: 31.66 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002315/10.52, allocations: 0.4998 MB / 3.878 GB, free: 31.16 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008151/10.52, allocations: 371.9 kB / 3.878 GB, free: 30.79 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004425/10.52, allocations: 79.95 kB / 3.878 GB, free: 30.71 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004766/10.52, allocations: 5.248 MB / 3.883 GB, free: 25.19 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/10.52, allocations: 11.98 kB / 3.883 GB, free: 25.18 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/10.54, allocations: 6.76 MB / 3.89 GB, free: 18.14 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004276/10.54, allocations: 1.209 MB / 3.891 GB, free: 16.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002198/10.54, allocations: 63.98 kB / 3.891 GB, free: 16.84 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005153/10.55, allocations: 303.2 kB / 3.891 GB, free: 16.54 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006131/10.55, allocations: 173.7 kB / 3.891 GB, free: 16.37 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006019/10.55, allocations: 127.9 kB / 3.892 GB, free: 16.25 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.008298/10.56, allocations: 3.935 MB / 3.895 GB, free: 12.32 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.01e-07/10.56, allocations: 0 / 3.895 GB, free: 12.32 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.008852/10.57, allocations: 1.851 MB / 3.897 GB, free: 10.47 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.002202/10.57, allocations: 0.7356 MB / 3.898 GB, free: 9.734 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007423/10.57, allocations: 4.141 MB / 3.902 GB, free: 5.555 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/10.58, allocations: 4.875 kB / 3.902 GB, free: 5.551 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003686/10.58, allocations: 1.98 MB / 3.904 GB, free: 3.539 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01809/10.6, allocations: 3.243 MB / 3.907 GB, free: 372 kB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7662/11.36, allocations: 10.65 MB / 3.918 GB, free: 220.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007801/11.37, allocations: 4.421 MB / 3.922 GB, free: 219.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.009692/11.38, allocations: 1.857 MB / 3.924 GB, free: 219.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002534/11.38, allocations: 422 kB / 3.924 GB, free: 219.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.573e-06/11.38, allocations: 0.75 kB / 3.924 GB, free: 219.8 MB / 1.167 GB Notification: Performance of Templates: time 0.1959/11.58, allocations: 113.5 MB / 4.035 GB, free: 214.5 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches