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.001024/0.001024, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009838/0.0009838, allocations: 164.1 kB / 24.87 MB, free: 8.312 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.9176/0.9176, allocations: 177.1 MB / 205.3 MB, free: 4.512 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.891/1.891, allocations: 377.9 MB / 0.6247 GB, free: 8.949 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.532e-06/1.532e-06, allocations: 0 / 0.8128 GB, free: 42.58 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.53e-05, allocations: 2.859 kB / 0.8128 GB, free: 42.58 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.01093/0.01096, allocations: 15.25 MB / 0.8277 GB, free: 32.3 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.008537/0.01949, allocations: 5.585 MB / 0.8331 GB, free: 28.5 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.02106, allocations: 92.03 kB / 0.8332 GB, free: 28.45 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0009934/0.02205, allocations: 495.9 kB / 0.8337 GB, free: 28.2 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002968/0.02502, allocations: 1.632 MB / 0.8353 GB, free: 27.18 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.02757, allocations: 1.241 MB / 0.8365 GB, free: 26.53 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01611/0.04368, allocations: 20.22 MB / 0.8562 GB, free: 16.59 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008875/0.05256, allocations: 6.721 MB / 0.8628 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02017/0.07273, allocations: 9.263 MB / 0.8718 GB, free: 8.758 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01288/0.08561, allocations: 5.944 MB / 0.8776 GB, free: 4.965 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001711/0.08733, allocations: 0.832 MB / 0.8784 GB, free: 4.133 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003288/0.09061, allocations: 1.106 MB / 0.8795 GB, free: 3.027 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001274/0.09189, allocations: 2.254 MB / 0.8817 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.004522/0.09641, allocations: 3.033 MB / 0.8847 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00694/0.1033, allocations: 7.241 MB / 0.8918 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1034, allocations: 1.25 kB / 0.8918 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1034, allocations: 0 / 0.8918 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002394/0.1036, allocations: 0 / 0.8918 GB, free: 6.465 MB / 0.7761 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.008531/0.1121, allocations: 7.837 MB / 0.8994 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1122, allocations: 9.156 kB / 0.8994 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/0.1143, allocations: 1.386 MB / 0.9008 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00481/0.1191, allocations: 4.76 MB / 0.9054 GB, free: 8.379 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.1193, allocations: 419.4 kB / 0.9058 GB, free: 7.969 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009048/0.1202, allocations: 0.5594 MB / 0.9064 GB, free: 7.41 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005205/0.1254, allocations: 5.547 MB / 0.9118 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.35e-05/0.1255, allocations: 27.8 kB / 0.9118 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000349/0.1258, allocations: 236 kB / 0.912 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/0.126, allocations: 160 kB / 0.9122 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.1283, allocations: 1.681 MB / 0.9138 GB, free: 15.17 MB / 0.8073 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.01823/0.1465, allocations: 22.92 MB / 0.9362 GB, free: 7.812 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.1482, allocations: 1.532 MB / 0.9377 GB, free: 6.305 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.1494, allocations: 1.186 MB / 0.9389 GB, free: 5.117 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002931/0.1497, allocations: 126 kB / 0.939 GB, free: 4.992 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.541e-05/0.1498, allocations: 71.5 kB / 0.9391 GB, free: 4.91 MB / 0.823 GB Notification: Performance of pre-optimization done (n=267): time 4.418e-06/0.1498, allocations: 0 / 0.9391 GB, free: 4.91 MB / 0.823 GB Notification: Performance of matching and sorting (n=267): time 0.003901/0.1537, allocations: 2.459 MB / 0.9415 GB, free: 2.391 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.1537, allocations: 81.5 kB / 0.9415 GB, free: 2.297 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003245/0.157, allocations: 3.716 MB / 0.9452 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001512/0.1571, allocations: 73.7 kB / 0.9452 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001919/0.159, allocations: 3.208 MB / 0.9484 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007754/0.1598, allocations: 1.038 MB / 0.9494 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008519/0.1607, allocations: 0.7974 MB / 0.9502 GB, free: 9.371 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1608, allocations: 476.8 kB / 0.9506 GB, free: 8.902 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.1618, allocations: 395.1 kB / 0.951 GB, free: 8.516 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/0.1634, allocations: 2.346 MB / 0.9533 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002449/0.1658, allocations: 2.976 MB / 0.9562 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.382e-05/0.1658, allocations: 8 kB / 0.9562 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.004253/0.1701, allocations: 2.873 MB / 0.959 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.1701, allocations: 23.94 kB / 0.959 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.279e-05/0.1702, allocations: 48.08 kB / 0.9591 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.1712, allocations: 381.5 kB / 0.9594 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.1728, allocations: 0.8307 MB / 0.9602 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003391/0.1762, allocations: 5.165 MB / 0.9653 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/0.1792, allocations: 377.2 kB / 0.9656 GB, free: 7.645 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003768/0.1796, allocations: 148 kB / 0.9658 GB, free: 7.5 MB / 0.8542 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.001872/0.1814, allocations: 411.1 kB / 0.9662 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001364/0.1828, allocations: 0.5207 MB / 0.9667 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003037/0.1858, allocations: 1.938 MB / 0.9686 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-05/0.1859, allocations: 24 kB / 0.9686 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1859, allocations: 4 kB / 0.9686 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001658/0.1875, allocations: 1.514 MB / 0.9701 GB, free: 2.918 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.1978, allocations: 5.558 MB / 0.9755 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.1978, allocations: 4 kB / 0.9755 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.1989, allocations: 471.4 kB / 0.976 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.2, allocations: 346.7 kB / 0.9763 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/0.2001, allocations: 75.95 kB / 0.9764 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003389/0.2035, allocations: 5.085 MB / 0.9813 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.2035, allocations: 15.92 kB / 0.9814 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004276/0.2078, allocations: 2.701 MB / 0.984 GB, free: 4.09 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002076/0.2099, allocations: 0.8108 MB / 0.9848 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006949/0.2106, allocations: 55.98 kB / 0.9848 GB, free: 3.223 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/0.212, allocations: 107.8 kB / 0.9849 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/0.2123, allocations: 185.5 kB / 0.9851 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002038/0.2125, allocations: 115.8 kB / 0.9852 GB, free: 2.82 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002399/0.2149, allocations: 1.803 MB / 0.987 GB, free: 1.012 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2149, allocations: 4 kB / 0.987 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005295/0.2202, allocations: 1.816 MB / 0.9888 GB, free: 15.18 MB / 0.8855 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.0008151/0.221, allocations: 286.2 kB / 0.989 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003274/0.2243, allocations: 2.253 MB / 0.9912 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/0.2243, allocations: 4 kB / 0.9912 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.2256, allocations: 1.25 MB / 0.9925 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008901/0.2345, allocations: 2.661 MB / 0.9951 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/0.2505, allocations: 9.777 MB / 1.005 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002365/0.2529, allocations: 1.625 MB / 1.006 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003346/0.2562, allocations: 0.7715 MB / 1.007 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004812/0.2611, allocations: 1.864 MB / 1.009 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of SimCode: time 2.164e-06/0.2611, allocations: 4 kB / 1.009 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of Templates: time 0.1273/0.3883, allocations: 99.98 MB / 1.106 GB, free: 8.062 MB / 0.9948 GB " [Timeout remaining time 300] 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.478220980614424]