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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009629/0.0009629, allocations: 73.09 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009706/0.0009706, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.037/1.037, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.064/2.064, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaTan.vol.[0-9,]+..T|cooTan.vol.[0-9,]+..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=2500,variableFilter="time|heaTan.vol.[0-9,]+..T|cooTan.vol.[0-9,]+..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.211e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.01154/0.01156, allocations: 15.25 MB / 0.8943 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007425/0.01899, allocations: 5.564 MB / 0.8997 GB, free: 1.16 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.02005, allocations: 91.25 kB / 0.8998 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008388/0.02088, allocations: 0.4923 MB / 0.9003 GB, free: 0.5742 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.02314, allocations: 1.623 MB / 0.9019 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.02487, allocations: 1.24 MB / 0.9031 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01294/0.03781, allocations: 20.23 MB / 0.9228 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00685/0.04466, allocations: 6.385 MB / 0.9291 GB, free: 2.934 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01414/0.0588, allocations: 9.277 MB / 0.9381 GB, free: 9.738 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008205/0.06701, allocations: 5.977 MB / 0.944 GB, free: 3.746 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.001309/0.06832, allocations: 0.8281 MB / 0.9448 GB, free: 2.918 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/0.071, allocations: 1.101 MB / 0.9458 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.001589/0.07259, allocations: 2.258 MB / 0.948 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.005191/0.07778, allocations: 3.049 MB / 0.951 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.007749/0.08553, allocations: 7.257 MB / 0.9581 GB, free: 5.219 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.08554, allocations: 0 / 0.9581 GB, free: 5.219 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.192e-06/0.08554, allocations: 0 / 0.9581 GB, free: 5.219 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001302/0.08567, allocations: 4 kB / 0.9581 GB, free: 5.215 MB / 0.9167 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.008212/0.09388, allocations: 7.828 MB / 0.9658 GB, free: 13.31 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.09393, allocations: 8.031 kB / 0.9658 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/0.09625, allocations: 1.39 MB / 0.9671 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0049/0.1011, allocations: 4.747 MB / 0.9718 GB, free: 7.074 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.1013, allocations: 423.4 kB / 0.9722 GB, free: 6.66 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005619/0.1019, allocations: 0.5666 MB / 0.9727 GB, free: 6.094 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00524/0.1071, allocations: 5.543 MB / 0.9781 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-05/0.1072, allocations: 11.88 kB / 0.9781 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003456/0.1076, allocations: 236 kB / 0.9784 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/0.1077, allocations: 171.9 kB / 0.9785 GB, free: 15.56 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.1102, allocations: 1.681 MB / 0.9802 GB, free: 13.86 MB / 0.948 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.01925/0.1294, allocations: 22.96 MB / 1.003 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.1312, allocations: 1.527 MB / 1.004 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.1324, allocations: 1.186 MB / 1.005 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002936/0.1327, allocations: 122 kB / 1.005 GB, free: 3.578 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.015e-05/0.1328, allocations: 71.5 kB / 1.005 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=267): time 4.488e-06/0.1328, allocations: 3.938 kB / 1.005 GB, free: 3.492 MB / 0.9636 GB Notification: Performance of matching and sorting (n=267): time 0.00414/0.1369, allocations: 2.455 MB / 1.008 GB, free: 0.9766 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.137, allocations: 81.52 kB / 1.008 GB, free: 0.8828 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00346/0.1404, allocations: 3.707 MB / 1.012 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001897/0.1406, allocations: 81.7 kB / 1.012 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001805/0.1424, allocations: 3.2 MB / 1.015 GB, free: 9.82 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000942/0.1434, allocations: 1.038 MB / 1.016 GB, free: 8.773 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007023/0.1441, allocations: 0.7974 MB / 1.017 GB, free: 7.965 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.1442, allocations: 480.8 kB / 1.017 GB, free: 7.492 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/0.1447, allocations: 395.1 kB / 1.017 GB, free: 7.105 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.1461, allocations: 2.342 MB / 1.02 GB, free: 3.977 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002422/0.1486, allocations: 2.976 MB / 1.023 GB, free: 208 kB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.519e-05/0.1486, allocations: 12 kB / 1.023 GB, free: 196 kB / 0.9792 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.003554/0.1521, allocations: 2.869 MB / 1.025 GB, free: 13.27 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/0.1522, allocations: 24.22 kB / 1.025 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.052e-05/0.1522, allocations: 48 kB / 1.025 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.1532, allocations: 393.5 kB / 1.026 GB, free: 12.81 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.1547, allocations: 0.8307 MB / 1.027 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003062/0.1578, allocations: 5.16 MB / 1.032 GB, free: 6.602 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/0.1598, allocations: 385.2 kB / 1.032 GB, free: 6.223 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.16, allocations: 144 kB / 1.032 GB, free: 6.082 MB / 0.9948 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001406/0.1614, allocations: 407.2 kB / 1.033 GB, free: 5.672 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006063/0.162, allocations: 0.5167 MB / 1.033 GB, free: 5.152 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/0.1645, allocations: 1.938 MB / 1.035 GB, free: 3.156 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.1646, allocations: 31.98 kB / 1.035 GB, free: 3.125 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1646, allocations: 8 kB / 1.035 GB, free: 3.117 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001524/0.1661, allocations: 1.502 MB / 1.036 GB, free: 1.5 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007091/0.1732, allocations: 5.585 MB / 1.042 GB, free: 11.75 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.1732, allocations: 4 kB / 1.042 GB, free: 11.75 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.1742, allocations: 471.4 kB / 1.042 GB, free: 11.29 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009172/0.1751, allocations: 341.8 kB / 1.043 GB, free: 10.95 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.1753, allocations: 71.91 kB / 1.043 GB, free: 10.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002834/0.1781, allocations: 5.092 MB / 1.048 GB, free: 5.566 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.1781, allocations: 7.938 kB / 1.048 GB, free: 5.559 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003476/0.1816, allocations: 2.701 MB / 1.05 GB, free: 2.652 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/0.1828, allocations: 0.8185 MB / 1.051 GB, free: 1.828 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003313/0.1832, allocations: 63.98 kB / 1.051 GB, free: 1.766 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.1842, allocations: 104.2 kB / 1.051 GB, free: 1.664 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.1844, allocations: 185.5 kB / 1.052 GB, free: 1.484 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.1846, allocations: 103.9 kB / 1.052 GB, free: 1.383 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.4606/0.6451, allocations: 1.809 MB / 1.053 GB, free: 175.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6451, allocations: 0 / 1.053 GB, free: 175.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005384/0.6505, allocations: 1.839 MB / 1.055 GB, free: 175.5 MB / 1.01 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006033/0.6511, allocations: 277.1 kB / 1.055 GB, free: 175.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002924/0.6541, allocations: 2.251 MB / 1.058 GB, free: 174.9 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.6541, allocations: 2.781 kB / 1.058 GB, free: 174.9 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.6552, allocations: 1.249 MB / 1.059 GB, free: 174.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006114/0.6613, allocations: 2.659 MB / 1.061 GB, free: 174.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.6728, allocations: 9.759 MB / 1.071 GB, free: 170.2 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/0.674, allocations: 1.627 MB / 1.073 GB, free: 170 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002513/0.6765, allocations: 0.7806 MB / 1.073 GB, free: 169.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003401/0.6799, allocations: 1.865 MB / 1.075 GB, free: 169.7 MB / 1.01 GB Notification: Performance of SimCode: time 1.854e-06/0.68, allocations: 0 / 1.075 GB, free: 169.7 MB / 1.01 GB Notification: Performance of Templates: time 0.1079/0.7878, allocations: 100.5 MB / 1.173 GB, free: 115.7 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.88960609678179]