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.239/2.239, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001103/0.001103, allocations: 183.5 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.617/1.617, allocations: 223.2 MB / 0.7992 GB, free: 14.71 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.001077/0.001077, allocations: 105.8 kB / 0.9396 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003919, allocations: 10.38 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3791, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.318/1.697, allocations: 417.4 MB / 1.637 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/1.698, allocations: 88.2 kB / 1.637 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 8.724/10.42, allocations: 2.142 GB / 3.779 GB, free: 216.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.885e-06/10.42, allocations: 2.844 kB / 3.779 GB, free: 216.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001336/10.42, allocations: 177.8 kB / 3.779 GB, free: 216.7 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.02609/10.45, allocations: 6.577 MB / 3.785 GB, free: 214.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/10.45, allocations: 11.19 kB / 3.785 GB, free: 214.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005857/10.46, allocations: 0.7876 MB / 3.786 GB, free: 214.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0209/10.48, allocations: 7.516 MB / 3.793 GB, free: 213.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005603/10.48, allocations: 415.5 kB / 3.794 GB, free: 213.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002896/10.48, allocations: 0.5403 MB / 3.794 GB, free: 213.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02334/10.5, allocations: 7.5 MB / 3.802 GB, free: 212.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000411/10.5, allocations: 12.97 kB / 3.802 GB, free: 212.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002995/10.51, allocations: 238.1 kB / 3.802 GB, free: 212.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004407/10.51, allocations: 224.5 kB / 3.802 GB, free: 212.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01727/10.52, allocations: 5.967 MB / 3.808 GB, free: 212.5 MB / 1.167 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.05485/10.58, allocations: 29.69 MB / 3.837 GB, free: 199.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006405/10.59, allocations: 3.582 MB / 3.84 GB, free: 199.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/10.59, allocations: 0.8245 MB / 3.841 GB, free: 199 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.39e-05/10.59, allocations: 70.7 kB / 3.841 GB, free: 198.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=267): time 5.18e-06/10.59, allocations: 0 / 3.841 GB, free: 198.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=267): time 0.01457/10.6, allocations: 5.754 MB / 3.847 GB, free: 198.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/10.6, allocations: 79.73 kB / 3.847 GB, free: 198.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01342/10.62, allocations: 4.886 MB / 3.852 GB, free: 196.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009472/10.62, allocations: 80.11 kB / 3.852 GB, free: 196.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00361/10.62, allocations: 2.848 MB / 3.855 GB, free: 194.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00192/10.62, allocations: 0.9345 MB / 3.855 GB, free: 193.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006872/10.62, allocations: 75.5 kB / 3.856 GB, free: 193.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0004117/10.62, allocations: 457.2 kB / 3.856 GB, free: 193.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003284/10.63, allocations: 1.665 MB / 3.858 GB, free: 192.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004211/10.63, allocations: 2.918 MB / 3.86 GB, free: 190.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004095/10.63, allocations: 2.273 MB / 3.863 GB, free: 189.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.585e-05/10.63, allocations: 11.69 kB / 3.863 GB, free: 189.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01182/10.65, allocations: 5.409 MB / 3.868 GB, free: 187.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 6.093e-05/10.65, allocations: 21.06 kB / 3.868 GB, free: 187.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.958e-05/10.65, allocations: 41.06 kB / 3.868 GB, free: 187.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/10.65, allocations: 422.7 kB / 3.868 GB, free: 187.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003255/10.65, allocations: 0.8534 MB / 3.869 GB, free: 187.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00539/10.66, allocations: 5.419 MB / 3.875 GB, free: 183.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006705/10.66, allocations: 0.677 MB / 3.875 GB, free: 183.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008305/10.66, allocations: 178.5 kB / 3.875 GB, free: 183.3 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 () * Number of clocked 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.006044/10.67, allocations: 2.279 MB / 3.878 GB, free: 182.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002599/10.67, allocations: 488.8 kB / 3.878 GB, free: 182 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009429/10.68, allocations: 4.166 MB / 3.882 GB, free: 180.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.114e-05/10.68, allocations: 30.33 kB / 3.882 GB, free: 180.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.499e-05/10.68, allocations: 6.375 kB / 3.882 GB, free: 180.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005379/10.69, allocations: 3.619 MB / 3.886 GB, free: 178.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02667/10.71, allocations: 10.05 MB / 3.896 GB, free: 174.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/10.71, allocations: 3.844 kB / 3.896 GB, free: 174.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002395/10.72, allocations: 0.5002 MB / 3.896 GB, free: 174.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008587/10.72, allocations: 374.1 kB / 3.896 GB, free: 174.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004362/10.72, allocations: 75.64 kB / 3.896 GB, free: 174.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004985/10.72, allocations: 5.345 MB / 3.902 GB, free: 170.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/10.72, allocations: 7.625 kB / 3.902 GB, free: 170.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/10.73, allocations: 6.897 MB / 3.908 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004972/10.74, allocations: 1.211 MB / 3.91 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00226/10.74, allocations: 59.38 kB / 3.91 GB, free: 166.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005294/10.75, allocations: 301.8 kB / 3.91 GB, free: 166.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004281/10.75, allocations: 180 kB / 3.91 GB, free: 166.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005256/10.75, allocations: 130.2 kB / 3.91 GB, free: 166.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.009681/10.76, allocations: 3.983 MB / 3.914 GB, free: 165.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 3e-07/10.76, allocations: 0 / 3.914 GB, free: 165.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01048/10.77, allocations: 1.858 MB / 3.916 GB, free: 164.4 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 () * Number of clocked 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.002852/10.77, allocations: 0.7522 MB / 3.917 GB, free: 163.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008298/10.78, allocations: 4.254 MB / 3.921 GB, free: 160.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-05/10.78, allocations: 4 kB / 3.921 GB, free: 160.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004591/10.78, allocations: 2.032 MB / 3.923 GB, free: 158.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01952/10.8, allocations: 3.231 MB / 3.926 GB, free: 156.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03377/10.84, allocations: 14.63 MB / 3.94 GB, free: 142.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009255/10.85, allocations: 4.42 MB / 3.945 GB, free: 138 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01132/10.86, allocations: 1.901 MB / 3.946 GB, free: 136.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002912/10.86, allocations: 423.3 kB / 3.947 GB, free: 135.8 MB / 1.167 GB Notification: Performance of SimCode: time 2.525e-06/10.86, allocations: 0 / 3.947 GB, free: 135.8 MB / 1.167 GB Notification: Performance of Templates: time 0.1992/11.06, allocations: 111.8 MB / 4.056 GB, free: 26.25 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