Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001467/0.001467, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001164/0.001164, allocations: 169.8 kB / 24.86 MB, free: 9.27 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.9814/0.9814, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.817/1.817, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.606e-06/3.606e-06, allocations: 7.922 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.868e-05, allocations: 3.094 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.01832/0.01835, allocations: 15.18 MB / 0.8031 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01193/0.03028, allocations: 5.573 MB / 0.8086 GB, free: 7.488 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.03164, allocations: 91.25 kB / 0.8086 GB, free: 7.398 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0008745/0.03251, allocations: 0.4923 MB / 0.8091 GB, free: 6.902 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.0349, allocations: 1.627 MB / 0.8107 GB, free: 5.266 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.03665, allocations: 1.251 MB / 0.8119 GB, free: 4.012 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0138/0.05045, allocations: 20.16 MB / 0.8316 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008418/0.05887, allocations: 6.707 MB / 0.8382 GB, free: 8.973 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01339/0.07226, allocations: 9.201 MB / 0.8472 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008348/0.0806, allocations: 6.008 MB / 0.853 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.08172, allocations: 0.832 MB / 0.8538 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/0.084, allocations: 1.085 MB / 0.8549 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001527/0.08552, allocations: 2.262 MB / 0.8571 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.003171/0.08869, allocations: 3.017 MB / 0.8601 GB, free: 2.641 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.006309/0.095, allocations: 7.225 MB / 0.8671 GB, free: 11.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.09501, allocations: 0 / 0.8671 GB, free: 11.39 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.122e-06/0.09501, allocations: 4 kB / 0.8671 GB, free: 11.39 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.971e-05/0.09509, allocations: 0 / 0.8671 GB, free: 11.39 MB / 0.823 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.007502/0.1026, allocations: 7.832 MB / 0.8748 GB, free: 3.48 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1026, allocations: 8.031 kB / 0.8748 GB, free: 3.473 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.1047, allocations: 1.39 MB / 0.8761 GB, free: 2.078 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004781/0.1094, allocations: 4.743 MB / 0.8808 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.1096, allocations: 419.4 kB / 0.8812 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005569/0.1102, allocations: 0.555 MB / 0.8817 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005084/0.1153, allocations: 5.555 MB / 0.8871 GB, free: 6.152 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.527e-05/0.1154, allocations: 15.88 kB / 0.8871 GB, free: 6.137 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003453/0.1157, allocations: 232 kB / 0.8874 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/0.1158, allocations: 167.9 kB / 0.8875 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.1181, allocations: 1.689 MB / 0.8892 GB, free: 4.039 MB / 0.8386 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.01951/0.1376, allocations: 22.89 MB / 0.9115 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.1393, allocations: 1.521 MB / 0.913 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.1405, allocations: 1.191 MB / 0.9142 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002827/0.1408, allocations: 118 kB / 0.9143 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.834e-05/0.1408, allocations: 79.5 kB / 0.9144 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=267): time 4.379e-06/0.1408, allocations: 0 / 0.9144 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of matching and sorting (n=267): time 0.003977/0.1448, allocations: 2.462 MB / 0.9168 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1449, allocations: 77.52 kB / 0.9168 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003166/0.148, allocations: 3.708 MB / 0.9205 GB, free: 3.391 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001595/0.1482, allocations: 73.7 kB / 0.9205 GB, free: 3.312 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001784/0.15, allocations: 3.216 MB / 0.9237 GB, free: 72 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008787/0.1508, allocations: 1.035 MB / 0.9247 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007312/0.1516, allocations: 0.7974 MB / 0.9255 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1517, allocations: 476.8 kB / 0.9259 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/0.1522, allocations: 399 kB / 0.9263 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.1537, allocations: 2.346 MB / 0.9286 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0025/0.1562, allocations: 2.98 MB / 0.9315 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/0.1562, allocations: 8 kB / 0.9315 GB, free: 6.438 MB / 0.8855 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.003474/0.1597, allocations: 2.876 MB / 0.9343 GB, free: 3.508 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.1597, allocations: 20.94 kB / 0.9343 GB, free: 3.488 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.329e-05/0.1597, allocations: 40 kB / 0.9344 GB, free: 3.449 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.1608, allocations: 389.4 kB / 0.9347 GB, free: 3.062 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.1623, allocations: 0.8346 MB / 0.9356 GB, free: 2.227 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003217/0.1656, allocations: 5.158 MB / 0.9406 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/0.1677, allocations: 373.2 kB / 0.941 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/0.1678, allocations: 152 kB / 0.9411 GB, free: 12.33 MB / 0.9011 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.1693, allocations: 411.2 kB / 0.9415 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006445/0.17, allocations: 0.5206 MB / 0.942 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.1725, allocations: 1.928 MB / 0.9439 GB, free: 9.406 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.1725, allocations: 27.94 kB / 0.9439 GB, free: 9.379 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1725, allocations: 7.984 kB / 0.9439 GB, free: 9.371 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001536/0.174, allocations: 1.498 MB / 0.9454 GB, free: 7.758 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006994/0.181, allocations: 5.562 MB / 0.9508 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.181, allocations: 7.984 kB / 0.9508 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.1821, allocations: 471.3 kB / 0.9513 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009051/0.183, allocations: 350.4 kB / 0.9516 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.1831, allocations: 71.97 kB / 0.9517 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002736/0.1858, allocations: 5.094 MB / 0.9566 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/0.1858, allocations: 8 kB / 0.9567 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00305/0.1889, allocations: 2.697 MB / 0.9593 GB, free: 8.918 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.19, allocations: 0.8186 MB / 0.9601 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003172/0.1904, allocations: 55.98 kB / 0.9601 GB, free: 8.043 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.1914, allocations: 104.1 kB / 0.9602 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/0.1916, allocations: 189.5 kB / 0.9604 GB, free: 7.758 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/0.1918, allocations: 111.9 kB / 0.9605 GB, free: 7.648 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001547/0.1933, allocations: 1.807 MB / 0.9623 GB, free: 5.836 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1933, allocations: 0 / 0.9623 GB, free: 5.836 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003538/0.1968, allocations: 1.812 MB / 0.9641 GB, free: 4.016 MB / 0.9167 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.0005417/0.1974, allocations: 278.6 kB / 0.9643 GB, free: 3.734 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002423/0.1998, allocations: 2.242 MB / 0.9665 GB, free: 1.438 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.1998, allocations: 4 kB / 0.9665 GB, free: 1.434 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.2009, allocations: 1.253 MB / 0.9677 GB, free: 136 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005457/0.2063, allocations: 2.67 MB / 0.9703 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.2174, allocations: 9.767 MB / 0.9799 GB, free: 3.621 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.2187, allocations: 1.628 MB / 0.9815 GB, free: 1.973 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002709/0.2214, allocations: 0.7898 MB / 0.9822 GB, free: 1.191 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003366/0.2247, allocations: 1.86 MB / 0.9841 GB, free: 15.33 MB / 0.948 GB Notification: Performance of SimCode: time 1.553e-06/0.2247, allocations: 0 / 0.9841 GB, free: 15.33 MB / 0.948 GB Notification: Performance of Templates: time 0.4583/0.683, allocations: 99.98 MB / 1.082 GB, free: 256 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.78639820124954]