Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001486/0.001486, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001604/0.001604, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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.161/1.161, allocations: 177.1 MB / 204.2 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.913/1.913, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.846e-06/2.846e-06, allocations: 0 / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.428e-05/3.713e-05, allocations: 4.297 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.01713/0.01716, allocations: 15.5 MB / 0.8266 GB, free: 2.203 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.0274, allocations: 5.615 MB / 0.8321 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002727/0.03013, allocations: 95.25 kB / 0.8322 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.03192, allocations: 496.1 kB / 0.8327 GB, free: 12.03 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004583/0.0365, allocations: 1.631 MB / 0.8343 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00329/0.03979, allocations: 1.244 MB / 0.8355 GB, free: 9.145 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01786/0.05765, allocations: 20.21 MB / 0.8552 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00999/0.06764, allocations: 6.703 MB / 0.8618 GB, free: 14.05 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02092/0.08856, allocations: 9.002 MB / 0.8706 GB, free: 5.148 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01075/0.09931, allocations: 5.907 MB / 0.8763 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.003297/0.1026, allocations: 0.8438 MB / 0.8772 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006603/0.1092, allocations: 1.14 MB / 0.8783 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.004387/0.1136, allocations: 2.281 MB / 0.8805 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.007847/0.1214, allocations: 3.068 MB / 0.8835 GB, free: 7.879 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01122/0.1327, allocations: 7.315 MB / 0.8907 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1327, allocations: 0 / 0.8907 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.033e-06/0.1327, allocations: 0 / 0.8907 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003854/0.1331, allocations: 0 / 0.8907 GB, free: 0.543 MB / 0.8386 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.01467/0.1477, allocations: 8.235 MB / 0.8987 GB, free: 8.234 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.1478, allocations: 8.031 kB / 0.8987 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/0.1508, allocations: 1.393 MB / 0.9001 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009774/0.1606, allocations: 5.772 MB / 0.9057 GB, free: 0.9727 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002469/0.1608, allocations: 415.4 kB / 0.9061 GB, free: 0.5664 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001024/0.1619, allocations: 0.555 MB / 0.9066 GB, free: 12 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008451/0.1703, allocations: 5.903 MB / 0.9124 GB, free: 9.531 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.644e-05/0.1704, allocations: 19.88 kB / 0.9124 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003803/0.1708, allocations: 236 kB / 0.9126 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/0.1709, allocations: 163.9 kB / 0.9128 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00424/0.1752, allocations: 2.083 MB / 0.9148 GB, free: 7.027 MB / 0.8698 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.02856/0.2037, allocations: 23.27 MB / 0.9376 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00262/0.2063, allocations: 1.703 MB / 0.9392 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/0.208, allocations: 1.363 MB / 0.9406 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003745/0.2084, allocations: 118 kB / 0.9407 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.379e-05/0.2085, allocations: 75.5 kB / 0.9407 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=267): time 6.031e-06/0.2085, allocations: 0 / 0.9407 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of matching and sorting (n=267): time 0.00594/0.2144, allocations: 2.884 MB / 0.9436 GB, free: 9.074 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.2145, allocations: 77.52 kB / 0.9436 GB, free: 8.984 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005002/0.2195, allocations: 3.8 MB / 0.9473 GB, free: 5.145 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004594/0.22, allocations: 81.7 kB / 0.9474 GB, free: 5.059 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002054/0.222, allocations: 3.17 MB / 0.9505 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001181/0.2232, allocations: 1.027 MB / 0.9515 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007593/0.224, allocations: 0.786 MB / 0.9523 GB, free: 32 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2241, allocations: 476.8 kB / 0.9527 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009525/0.225, allocations: 0.503 MB / 0.9532 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/0.227, allocations: 2.455 MB / 0.9556 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003067/0.2301, allocations: 3.179 MB / 0.9587 GB, free: 7.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.87e-05/0.2301, allocations: 12 kB / 0.9587 GB, free: 7.828 MB / 0.9167 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.005489/0.2356, allocations: 3.162 MB / 0.9618 GB, free: 4.613 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/0.2356, allocations: 22.97 kB / 0.9619 GB, free: 4.594 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.641e-05/0.2356, allocations: 40 kB / 0.9619 GB, free: 4.555 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.2369, allocations: 402.1 kB / 0.9623 GB, free: 4.152 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.2385, allocations: 0.8658 MB / 0.9631 GB, free: 3.285 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/0.2423, allocations: 5.273 MB / 0.9683 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003378/0.2457, allocations: 469 kB / 0.9687 GB, free: 13.31 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003432/0.246, allocations: 180 kB / 0.9689 GB, free: 13.14 MB / 0.9323 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.002/0.248, allocations: 415.1 kB / 0.9693 GB, free: 12.72 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/0.2493, allocations: 0.5246 MB / 0.9698 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003148/0.2524, allocations: 2.146 MB / 0.9719 GB, free: 9.988 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.2524, allocations: 24 kB / 0.9719 GB, free: 9.965 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.2524, allocations: 7.938 kB / 0.9719 GB, free: 9.957 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00215/0.2546, allocations: 1.724 MB / 0.9736 GB, free: 8.117 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/0.2693, allocations: 7.127 MB / 0.9806 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.2693, allocations: 4 kB / 0.9806 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.2706, allocations: 0.5114 MB / 0.9811 GB, free: 304 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/0.2717, allocations: 361.1 kB / 0.9814 GB, free: 15.94 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/0.2719, allocations: 75.95 kB / 0.9815 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003691/0.2756, allocations: 5.223 MB / 0.9866 GB, free: 10.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.2756, allocations: 4 kB / 0.9866 GB, free: 10.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005341/0.281, allocations: 2.994 MB / 0.9895 GB, free: 7.199 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002518/0.2835, allocations: 0.8927 MB / 0.9904 GB, free: 6.305 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000622/0.2841, allocations: 63.98 kB / 0.9905 GB, free: 6.242 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/0.2855, allocations: 167.7 kB / 0.9906 GB, free: 6.078 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/0.2858, allocations: 189.5 kB / 0.9908 GB, free: 5.895 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002037/0.286, allocations: 127.9 kB / 0.9909 GB, free: 5.77 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002731/0.2887, allocations: 1.98 MB / 0.9928 GB, free: 3.785 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.2887, allocations: 4 kB / 0.9929 GB, free: 3.781 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004767/0.2935, allocations: 1.824 MB / 0.9946 GB, free: 1.953 MB / 0.948 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.0007461/0.2942, allocations: 302.5 kB / 0.9949 GB, free: 1.648 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004259/0.2985, allocations: 2.456 MB / 0.9973 GB, free: 15.14 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/0.2985, allocations: 4.375 kB / 0.9973 GB, free: 15.13 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.3003, allocations: 1.339 MB / 0.9986 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008274/0.3086, allocations: 2.668 MB / 1.001 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/0.3252, allocations: 9.844 MB / 1.011 GB, free: 1.16 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/0.3267, allocations: 1.625 MB / 1.012 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004071/0.3308, allocations: 1.364 MB / 1.014 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/0.3321, allocations: 384.3 kB / 1.014 GB, free: 13.78 MB / 0.9792 GB Notification: Performance of SimCode: time 3.767e-06/0.3321, allocations: 0 / 1.014 GB, free: 13.78 MB / 0.9792 GB Notification: Performance of Templates: time 0.5233/0.8554, allocations: 90.84 MB / 1.103 GB, free: 241.2 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.848744122311473]