Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001181/0.001181, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001688/0.002869, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001089/0.001089, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001459/0.002548, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.001/1.001, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08799/1.089, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.382/2.382, allocations: 447.1 MB / 0.675 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.245/2.627, allocations: 146 MB / 0.8176 GB, free: 3.789 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8189 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.057e-05, allocations: 5.266 kB / 0.8189 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.01192/0.01194, allocations: 15.39 MB / 0.834 GB, free: 2.992 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01128/0.02322, allocations: 5.752 MB / 0.8396 GB, free: 13.23 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002931/0.02615, allocations: 95.25 kB / 0.8397 GB, free: 13.13 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.02745, allocations: 0.504 MB / 0.8402 GB, free: 12.62 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.00358/0.03103, allocations: 1.623 MB / 0.8417 GB, free: 10.99 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.03327, allocations: 1.217 MB / 0.8429 GB, free: 9.773 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01467/0.04794, allocations: 20.41 MB / 0.8629 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009281/0.05722, allocations: 6.748 MB / 0.8695 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01835/0.07557, allocations: 9.75 MB / 0.879 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009353/0.08492, allocations: 5.755 MB / 0.8846 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.002576/0.0875, allocations: 0.8281 MB / 0.8854 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005269/0.09277, allocations: 1.117 MB / 0.8865 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.002876/0.09564, allocations: 1.741 MB / 0.8882 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.007452/0.1031, allocations: 2.496 MB / 0.8906 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.114, allocations: 6.797 MB / 0.8973 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.171e-05/0.114, allocations: 0 / 0.8973 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.162e-06/0.114, allocations: 3.938 kB / 0.8973 GB, free: 2.078 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004103/0.1144, allocations: 0 / 0.8973 GB, free: 2.078 MB / 0.8698 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.01682/0.1312, allocations: 8.649 MB / 0.9057 GB, free: 9.348 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1313, allocations: 12.03 kB / 0.9057 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003469/0.1347, allocations: 1.175 MB / 0.9069 GB, free: 8.16 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007176/0.1419, allocations: 3.514 MB / 0.9103 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.1422, allocations: 415.4 kB / 0.9107 GB, free: 4.137 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001241/0.1434, allocations: 0.5589 MB / 0.9113 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007451/0.1508, allocations: 5.469 MB / 0.9166 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.963e-05/0.1509, allocations: 11.94 kB / 0.9166 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004301/0.1514, allocations: 243.9 kB / 0.9168 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002742/0.1517, allocations: 164 kB / 0.917 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002983/0.1546, allocations: 1.841 MB / 0.9188 GB, free: 11.34 MB / 0.9011 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.02168/0.1763, allocations: 16.45 MB / 0.9349 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.1782, allocations: 1.493 MB / 0.9363 GB, free: 8.988 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.1793, allocations: 1.12 MB / 0.9374 GB, free: 7.859 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002823/0.1796, allocations: 118 kB / 0.9375 GB, free: 7.742 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.406e-05/0.1797, allocations: 68.45 kB / 0.9376 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=267): time 4.338e-06/0.1797, allocations: 0 / 0.9376 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of matching and sorting (n=267): time 0.003774/0.1834, allocations: 1.893 MB / 0.9394 GB, free: 5.727 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.1835, allocations: 77.52 kB / 0.9395 GB, free: 5.637 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003322/0.1868, allocations: 3.328 MB / 0.9428 GB, free: 2.27 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004025/0.1872, allocations: 77.7 kB / 0.9428 GB, free: 2.188 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001234/0.1884, allocations: 2.292 MB / 0.9451 GB, free: 15.87 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001065/0.1895, allocations: 0.976 MB / 0.946 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006094/0.1901, allocations: 0.6606 MB / 0.9467 GB, free: 14.22 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.807e-05/0.1902, allocations: 309.1 kB / 0.947 GB, free: 13.91 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005807/0.1908, allocations: 456.5 kB / 0.9474 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.1919, allocations: 1.689 MB / 0.9491 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002307/0.1942, allocations: 2.571 MB / 0.9516 GB, free: 8.035 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-05/0.1942, allocations: 12 kB / 0.9516 GB, free: 8.023 MB / 0.9323 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.003347/0.1975, allocations: 2.296 MB / 0.9538 GB, free: 5.688 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.1976, allocations: 24 kB / 0.9538 GB, free: 5.664 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.423e-05/0.1976, allocations: 40 kB / 0.9539 GB, free: 5.625 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.1986, allocations: 387.9 kB / 0.9542 GB, free: 5.242 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.2004, allocations: 0.9518 MB / 0.9552 GB, free: 4.289 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/0.2032, allocations: 3.705 MB / 0.9588 GB, free: 420 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/0.206, allocations: 385.2 kB / 0.9592 GB, free: 32 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003518/0.2064, allocations: 144 kB / 0.9593 GB, free: 15.89 MB / 0.948 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.001436/0.2078, allocations: 359.4 kB / 0.9596 GB, free: 15.53 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000875/0.2087, allocations: 351.6 kB / 0.96 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.2108, allocations: 1.605 MB / 0.9615 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/0.2108, allocations: 27.98 kB / 0.9616 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.2108, allocations: 4 kB / 0.9616 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001149/0.212, allocations: 1.179 MB / 0.9627 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008203/0.2202, allocations: 4.727 MB / 0.9673 GB, free: 7.352 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.2202, allocations: 4 kB / 0.9673 GB, free: 7.348 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.2215, allocations: 0.5542 MB / 0.9679 GB, free: 6.793 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001884/0.2234, allocations: 0.5928 MB / 0.9685 GB, free: 6.195 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009681/0.2243, allocations: 336.6 kB / 0.9688 GB, free: 5.863 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/0.2245, allocations: 67.95 kB / 0.9689 GB, free: 5.797 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002722/0.2272, allocations: 3.601 MB / 0.9724 GB, free: 2.035 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.2272, allocations: 12.03 kB / 0.9724 GB, free: 2.023 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003417/0.2306, allocations: 2.178 MB / 0.9745 GB, free: 15.67 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008248/0.2314, allocations: 63.98 kB / 0.9746 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001858/0.2333, allocations: 108.2 kB / 0.9747 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/0.2335, allocations: 177.5 kB / 0.9748 GB, free: 15.33 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/0.2337, allocations: 103.8 kB / 0.9749 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001898/0.2356, allocations: 1.692 MB / 0.9766 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2356, allocations: 0 / 0.9766 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004112/0.2398, allocations: 1.836 MB / 0.9784 GB, free: 11.68 MB / 0.9636 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.0006234/0.2404, allocations: 260.4 kB / 0.9786 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002774/0.2431, allocations: 1.96 MB / 0.9805 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 0.0001412/0.2433, allocations: 87.7 kB / 0.9806 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.245, allocations: 1.424 MB / 0.982 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01137/0.2564, allocations: 15.51 MB / 0.9972 GB, free: 5.59 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02872/0.2851, allocations: 9.571 MB / 1.007 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/0.2865, allocations: 1.291 MB / 1.008 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002651/0.2892, allocations: 0.7847 MB / 1.009 GB, free: 9.789 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003949/0.2931, allocations: 1.578 MB / 1.01 GB, free: 8.18 MB / 0.9948 GB Notification: Performance of SimCode: time 2.214e-06/0.2931, allocations: 0 / 1.01 GB, free: 8.18 MB / 0.9948 GB Notification: Performance of Templates: time 0.6035/0.8966, allocations: 104.4 MB / 1.112 GB, free: 138.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.760376042686403]