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.0009554/0.0009554, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009362/0.0009362, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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 0.9868/0.9868, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.817/1.817, allocations: 377.8 MB / 0.6236 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.442e-06/1.442e-06, allocations: 4.922 kB / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.465e-05, allocations: 3.312 kB / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.01236/0.01238, allocations: 15.5 MB / 0.8267 GB, free: 2.223 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.008748/0.02113, allocations: 5.618 MB / 0.8321 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002231/0.02336, allocations: 91.25 kB / 0.8322 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.02453, allocations: 492.2 kB / 0.8327 GB, free: 12.06 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003578/0.02811, allocations: 1.631 MB / 0.8343 GB, free: 10.42 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.03041, allocations: 1.244 MB / 0.8355 GB, free: 9.176 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0145/0.04491, allocations: 20.21 MB / 0.8552 GB, free: 4.898 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00971/0.05462, allocations: 6.707 MB / 0.8618 GB, free: 14.07 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01576/0.07038, allocations: 9.284 MB / 0.8709 GB, free: 4.898 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009982/0.08036, allocations: 5.934 MB / 0.8767 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.002853/0.08322, allocations: 0.8281 MB / 0.8775 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004877/0.08809, allocations: 1.093 MB / 0.8785 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.002926/0.09102, allocations: 2.254 MB / 0.8807 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.006894/0.09791, allocations: 3.037 MB / 0.8837 GB, free: 7.723 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.1105, allocations: 7.249 MB / 0.8908 GB, free: 464 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1106, allocations: 0 / 0.8908 GB, free: 464 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1106, allocations: 0 / 0.8908 GB, free: 464 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003844/0.1109, allocations: 0 / 0.8908 GB, free: 464 kB / 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.01113/0.1221, allocations: 8.133 MB / 0.8987 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1221, allocations: 8.031 kB / 0.8987 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/0.1246, allocations: 1.397 MB / 0.9001 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006153/0.1308, allocations: 5.048 MB / 0.905 GB, free: 1.703 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/0.131, allocations: 415.4 kB / 0.9054 GB, free: 1.297 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005759/0.1316, allocations: 0.5628 MB / 0.906 GB, free: 0.7344 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007548/0.1391, allocations: 5.891 MB / 0.9117 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.1392, allocations: 19.83 kB / 0.9117 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003815/0.1396, allocations: 236 kB / 0.912 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001296/0.1397, allocations: 171.8 kB / 0.9121 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004327/0.1441, allocations: 2.083 MB / 0.9142 GB, free: 7.754 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.02355/0.1676, allocations: 23.23 MB / 0.9368 GB, free: 48 kB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/0.1699, allocations: 1.691 MB / 0.9385 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.1715, allocations: 1.319 MB / 0.9398 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000311/0.1718, allocations: 118 kB / 0.9399 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.604e-05/0.1719, allocations: 75.5 kB / 0.94 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=267): time 4.168e-06/0.1719, allocations: 0 / 0.94 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of matching and sorting (n=267): time 0.005216/0.1771, allocations: 2.884 MB / 0.9428 GB, free: 9.891 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.1771, allocations: 81.52 kB / 0.9429 GB, free: 9.797 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004295/0.1814, allocations: 3.788 MB / 0.9466 GB, free: 5.969 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002664/0.1817, allocations: 77.7 kB / 0.9466 GB, free: 5.887 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001944/0.1837, allocations: 3.178 MB / 0.9497 GB, free: 2.684 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008829/0.1845, allocations: 1.039 MB / 0.9508 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007289/0.1853, allocations: 0.7821 MB / 0.9515 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.343e-05/0.1854, allocations: 476.8 kB / 0.952 GB, free: 384 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009323/0.1863, allocations: 0.5069 MB / 0.9525 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/0.1881, allocations: 2.451 MB / 0.9549 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/0.1911, allocations: 3.179 MB / 0.958 GB, free: 8.652 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.498e-05/0.1912, allocations: 8 kB / 0.958 GB, free: 8.645 MB / 0.9167 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.005329/0.1965, allocations: 3.158 MB / 0.9611 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/0.1965, allocations: 20 kB / 0.9611 GB, free: 5.414 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.232e-05/0.1966, allocations: 40 kB / 0.9611 GB, free: 5.375 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.1977, allocations: 406.5 kB / 0.9615 GB, free: 4.973 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.1994, allocations: 0.858 MB / 0.9623 GB, free: 4.109 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003306/0.2027, allocations: 5.273 MB / 0.9675 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/0.2053, allocations: 469 kB / 0.9679 GB, free: 14.13 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/0.2055, allocations: 180 kB / 0.9681 GB, free: 13.96 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.001467/0.207, allocations: 407.2 kB / 0.9685 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008126/0.2078, allocations: 0.5246 MB / 0.969 GB, free: 13.02 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/0.2107, allocations: 2.153 MB / 0.9711 GB, free: 10.81 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.2107, allocations: 24 kB / 0.9711 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/0.2107, allocations: 11.94 kB / 0.9712 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002052/0.2127, allocations: 1.717 MB / 0.9728 GB, free: 8.941 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.2239, allocations: 7.108 MB / 0.9798 GB, free: 1.656 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.224, allocations: 4 kB / 0.9798 GB, free: 1.652 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/0.2251, allocations: 0.4998 MB / 0.9803 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/0.2262, allocations: 353.8 kB / 0.9806 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001832/0.2264, allocations: 75.91 kB / 0.9807 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003592/0.23, allocations: 5.222 MB / 0.9858 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/0.23, allocations: 20 kB / 0.9858 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004693/0.2347, allocations: 2.99 MB / 0.9887 GB, free: 8.055 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/0.2364, allocations: 0.8926 MB / 0.9896 GB, free: 7.16 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004738/0.2369, allocations: 59.98 kB / 0.9896 GB, free: 7.102 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.2382, allocations: 168.1 kB / 0.9898 GB, free: 6.938 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002504/0.2384, allocations: 189.5 kB / 0.99 GB, free: 6.754 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/0.2386, allocations: 123.9 kB / 0.9901 GB, free: 6.633 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00251/0.2411, allocations: 1.972 MB / 0.992 GB, free: 4.656 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.2411, allocations: 0 / 0.992 GB, free: 4.656 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004035/0.2451, allocations: 1.82 MB / 0.9938 GB, free: 2.832 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.000626/0.2457, allocations: 278.6 kB / 0.9941 GB, free: 2.551 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003879/0.2496, allocations: 2.449 MB / 0.9965 GB, free: 48 kB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.2496, allocations: 4 kB / 0.9965 GB, free: 44 kB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.2511, allocations: 1.343 MB / 0.9978 GB, free: 14.65 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007121/0.2582, allocations: 2.666 MB / 1 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/0.2727, allocations: 9.825 MB / 1.01 GB, free: 2.086 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/0.2739, allocations: 1.628 MB / 1.012 GB, free: 444 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00326/0.2772, allocations: 1.364 MB / 1.013 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007806/0.278, allocations: 376.4 kB / 1.013 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of SimCode: time 1.984e-06/0.278, allocations: 0 / 1.013 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of Templates: time 0.4406/0.7186, allocations: 96.38 MB / 1.107 GB, free: 239.1 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.457741885911673]