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.001064/0.001064, allocations: 83.59 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.001173/0.001173, allocations: 169 kB / 23.82 MB, free: 0.7461 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.9966/0.9966, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.912/1.912, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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 1.854e-06/1.854e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.352e-05, allocations: 3.094 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0123/0.01233, allocations: 15.42 MB / 0.8021 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.008465/0.02079, allocations: 5.616 MB / 0.8076 GB, free: 7.445 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.02255, allocations: 91.25 kB / 0.8077 GB, free: 7.355 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.02378, allocations: 496.2 kB / 0.8082 GB, free: 6.867 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003077/0.02685, allocations: 1.627 MB / 0.8098 GB, free: 5.23 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.02909, allocations: 1.248 MB / 0.811 GB, free: 3.98 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01372/0.04281, allocations: 20.14 MB / 0.8307 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007361/0.05017, allocations: 6.711 MB / 0.8372 GB, free: 8.949 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01234/0.06251, allocations: 8.938 MB / 0.8459 GB, free: 120 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007746/0.07026, allocations: 5.981 MB / 0.8518 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001954/0.07221, allocations: 0.8438 MB / 0.8526 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/0.07506, allocations: 1.128 MB / 0.8537 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001499/0.07656, allocations: 2.278 MB / 0.8559 GB, free: 5.863 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.003529/0.08009, allocations: 3.052 MB / 0.8589 GB, free: 2.805 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.006585/0.08667, allocations: 7.296 MB / 0.866 GB, free: 11.48 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.08668, allocations: 0 / 0.866 GB, free: 11.48 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.352e-06/0.08668, allocations: 0 / 0.866 GB, free: 11.48 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.368e-05/0.08677, allocations: 0 / 0.866 GB, free: 11.48 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.008142/0.09492, allocations: 8.231 MB / 0.8741 GB, free: 3.18 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.09496, allocations: 8.031 kB / 0.8741 GB, free: 3.172 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002312/0.09727, allocations: 1.393 MB / 0.8754 GB, free: 1.773 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00661/0.1039, allocations: 5.757 MB / 0.8811 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.1041, allocations: 415.4 kB / 0.8815 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006404/0.1047, allocations: 0.5628 MB / 0.882 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006578/0.1113, allocations: 5.899 MB / 0.8878 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.263e-05/0.1114, allocations: 7.938 kB / 0.8878 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003538/0.1117, allocations: 232 kB / 0.888 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001932/0.1119, allocations: 167.9 kB / 0.8882 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003951/0.1159, allocations: 2.094 MB / 0.8902 GB, free: 1.984 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.02468/0.1406, allocations: 23.23 MB / 0.9129 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/0.1429, allocations: 1.691 MB / 0.9146 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.1446, allocations: 1.366 MB / 0.9159 GB, free: 7.219 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003313/0.1449, allocations: 122 kB / 0.916 GB, free: 7.098 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.084e-05/0.145, allocations: 79.22 kB / 0.9161 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=267): time 5.511e-06/0.145, allocations: 4 kB / 0.9161 GB, free: 7.004 MB / 0.8698 GB Notification: Performance of matching and sorting (n=267): time 0.005146/0.1501, allocations: 2.88 MB / 0.9189 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.1502, allocations: 81.52 kB / 0.919 GB, free: 3.969 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003588/0.1538, allocations: 3.804 MB / 0.9227 GB, free: 128 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001831/0.1539, allocations: 73.7 kB / 0.9228 GB, free: 48 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001811/0.1558, allocations: 3.166 MB / 0.9258 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007537/0.1565, allocations: 1.031 MB / 0.9269 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007375/0.1572, allocations: 0.786 MB / 0.9276 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1573, allocations: 480.7 kB / 0.9281 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008948/0.1582, allocations: 0.5069 MB / 0.9286 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/0.1601, allocations: 2.455 MB / 0.931 GB, free: 6.797 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002809/0.1629, allocations: 3.171 MB / 0.9341 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/0.1629, allocations: 12 kB / 0.9341 GB, free: 2.816 MB / 0.8855 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.004511/0.1674, allocations: 3.158 MB / 0.9372 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.1675, allocations: 24 kB / 0.9372 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.058e-05/0.1675, allocations: 40 kB / 0.9372 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.1686, allocations: 410.8 kB / 0.9376 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/0.1703, allocations: 0.858 MB / 0.9385 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003512/0.1738, allocations: 5.274 MB / 0.9436 GB, free: 8.766 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/0.1762, allocations: 472.9 kB / 0.9441 GB, free: 8.301 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/0.1764, allocations: 180 kB / 0.9442 GB, free: 8.125 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.001454/0.1778, allocations: 407.3 kB / 0.9446 GB, free: 7.715 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006338/0.1784, allocations: 0.5168 MB / 0.9451 GB, free: 7.195 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/0.1813, allocations: 2.143 MB / 0.9472 GB, free: 4.992 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/0.1813, allocations: 28 kB / 0.9472 GB, free: 4.965 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1814, allocations: 4 kB / 0.9472 GB, free: 4.961 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002135/0.1835, allocations: 1.724 MB / 0.9489 GB, free: 3.121 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0096/0.1931, allocations: 7.128 MB / 0.9559 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.1931, allocations: 16.02 kB / 0.9559 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.1943, allocations: 0.4993 MB / 0.9564 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.1953, allocations: 361.8 kB / 0.9567 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/0.1954, allocations: 71.97 kB / 0.9568 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003193/0.1986, allocations: 5.226 MB / 0.9619 GB, free: 5.402 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1986, allocations: 4 kB / 0.9619 GB, free: 5.398 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004325/0.2029, allocations: 3.01 MB / 0.9649 GB, free: 2.18 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/0.2044, allocations: 0.8889 MB / 0.9657 GB, free: 1.289 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003079/0.2047, allocations: 63.92 kB / 0.9658 GB, free: 1.227 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.2059, allocations: 172 kB / 0.9659 GB, free: 1.059 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/0.2061, allocations: 185.5 kB / 0.9661 GB, free: 0.8789 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/0.2063, allocations: 123.9 kB / 0.9662 GB, free: 0.7578 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002489/0.2088, allocations: 1.988 MB / 0.9682 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2088, allocations: 0 / 0.9682 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003537/0.2123, allocations: 1.816 MB / 0.97 GB, free: 12.95 MB / 0.9323 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.0005005/0.2128, allocations: 286.6 kB / 0.9702 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003293/0.2161, allocations: 2.46 MB / 0.9726 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.2161, allocations: 4 kB / 0.9726 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.2174, allocations: 1.343 MB / 0.9739 GB, free: 8.746 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0056/0.223, allocations: 2.666 MB / 0.9766 GB, free: 6.16 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.2346, allocations: 9.835 MB / 0.9862 GB, free: 12.17 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/0.2357, allocations: 1.628 MB / 0.9877 GB, free: 10.52 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002935/0.2386, allocations: 1.371 MB / 0.9891 GB, free: 9.156 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007075/0.2393, allocations: 372.3 kB / 0.9894 GB, free: 8.793 MB / 0.948 GB Notification: Performance of SimCode: time 2.355e-06/0.2393, allocations: 0 / 0.9894 GB, free: 8.793 MB / 0.948 GB Notification: Performance of Templates: time 0.4451/0.6844, allocations: 90.85 MB / 1.078 GB, free: 256.6 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.51872549392283]