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.0006837/0.0006837, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009674/0.001651, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006921/0.0006921, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008792/0.001571, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9953/0.9953, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09562/1.091, allocations: 53.67 MB / 243.2 MB, free: 15.58 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.386/2.386, allocations: 446.7 MB / 0.6745 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2642/2.65, allocations: 145.9 MB / 0.817 GB, free: 4.191 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 2.184e-06/2.184e-06, allocations: 0 / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.417e-05, allocations: 8.422 kB / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.01781/0.01785, allocations: 15.38 MB / 0.8333 GB, free: 3.441 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01451/0.03236, allocations: 5.762 MB / 0.8389 GB, free: 13.67 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004436/0.03679, allocations: 91.25 kB / 0.839 GB, free: 13.58 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002402/0.03919, allocations: 0.5039 MB / 0.8395 GB, free: 13.07 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.006895/0.04609, allocations: 1.619 MB / 0.8411 GB, free: 11.44 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004209/0.0503, allocations: 1.224 MB / 0.8423 GB, free: 10.21 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.02407/0.07437, allocations: 20.41 MB / 0.8622 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01639/0.09075, allocations: 6.75 MB / 0.8688 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02979/0.1205, allocations: 9.788 MB / 0.8784 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01003/0.1306, allocations: 5.743 MB / 0.884 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.002961/0.1335, allocations: 0.8281 MB / 0.8848 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005933/0.1395, allocations: 1.12 MB / 0.8859 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.003811/0.1433, allocations: 1.741 MB / 0.8876 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.009559/0.1528, allocations: 2.504 MB / 0.89 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.01215/0.165, allocations: 6.801 MB / 0.8967 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.451e-05/0.165, allocations: 4 kB / 0.8967 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.514e-06/0.165, allocations: 0 / 0.8967 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003874/0.1654, allocations: 0 / 0.8967 GB, free: 2.473 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.01304/0.1784, allocations: 8.646 MB / 0.9051 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1785, allocations: 12.62 kB / 0.9051 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002988/0.1815, allocations: 1.167 MB / 0.9063 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007286/0.1888, allocations: 3.518 MB / 0.9097 GB, free: 4.945 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003027/0.1891, allocations: 415.4 kB / 0.9101 GB, free: 4.539 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001197/0.1903, allocations: 0.5667 MB / 0.9107 GB, free: 3.973 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008717/0.199, allocations: 5.465 MB / 0.916 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001345/0.1991, allocations: 11.94 kB / 0.916 GB, free: 14 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006625/0.1998, allocations: 243.9 kB / 0.9162 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/0.1999, allocations: 163.9 kB / 0.9164 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004045/0.204, allocations: 1.848 MB / 0.9182 GB, free: 11.73 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.02529/0.2293, allocations: 16.44 MB / 0.9343 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/0.2314, allocations: 1.499 MB / 0.9357 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/0.2326, allocations: 1.112 MB / 0.9368 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000293/0.2329, allocations: 122 kB / 0.9369 GB, free: 8.152 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.279e-05/0.2329, allocations: 72.67 kB / 0.937 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=267): time 5.38e-06/0.2329, allocations: 0 / 0.937 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=267): time 0.003597/0.2365, allocations: 1.896 MB / 0.9388 GB, free: 6.129 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.2366, allocations: 81.52 kB / 0.9389 GB, free: 6.035 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003844/0.2404, allocations: 3.316 MB / 0.9422 GB, free: 2.68 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003594/0.2408, allocations: 77.7 kB / 0.9422 GB, free: 2.598 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.242, allocations: 2.296 MB / 0.9445 GB, free: 284 kB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009068/0.2429, allocations: 0.9723 MB / 0.9454 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000672/0.2436, allocations: 0.6684 MB / 0.9461 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.2437, allocations: 301.1 kB / 0.9464 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006402/0.2443, allocations: 460.5 kB / 0.9468 GB, free: 13.87 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.2454, allocations: 1.685 MB / 0.9484 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/0.2475, allocations: 2.438 MB / 0.9508 GB, free: 8.578 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-05/0.2475, allocations: 12 kB / 0.9508 GB, free: 8.566 MB / 0.9323 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.003242/0.2507, allocations: 2.293 MB / 0.9531 GB, free: 6.238 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.2508, allocations: 24 kB / 0.9531 GB, free: 6.215 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/0.2508, allocations: 40 kB / 0.9531 GB, free: 6.176 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.2518, allocations: 395.9 kB / 0.9535 GB, free: 5.785 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.2536, allocations: 0.9518 MB / 0.9544 GB, free: 4.832 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002611/0.2562, allocations: 3.702 MB / 0.9581 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002971/0.2592, allocations: 385.1 kB / 0.9584 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002802/0.2594, allocations: 140 kB / 0.9586 GB, free: 456 kB / 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.001696/0.2611, allocations: 363.4 kB / 0.9589 GB, free: 80 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000886/0.262, allocations: 355.5 kB / 0.9593 GB, free: 15.73 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.2642, allocations: 1.603 MB / 0.9608 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/0.2642, allocations: 24 kB / 0.9608 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.2642, allocations: 4 kB / 0.9608 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001207/0.2655, allocations: 1.179 MB / 0.962 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007687/0.2731, allocations: 4.727 MB / 0.9666 GB, free: 7.898 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.2731, allocations: 8 kB / 0.9666 GB, free: 7.891 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.2745, allocations: 0.5584 MB / 0.9672 GB, free: 7.332 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002066/0.2765, allocations: 0.5812 MB / 0.9677 GB, free: 6.746 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009491/0.2775, allocations: 332 kB / 0.968 GB, free: 6.418 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/0.2776, allocations: 71.95 kB / 0.9681 GB, free: 6.348 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/0.2802, allocations: 3.608 MB / 0.9716 GB, free: 2.574 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.2802, allocations: 4 kB / 0.9716 GB, free: 2.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003304/0.2835, allocations: 2.182 MB / 0.9738 GB, free: 220 kB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007971/0.2843, allocations: 52 kB / 0.9738 GB, free: 168 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/0.2858, allocations: 116.2 kB / 0.9739 GB, free: 52 kB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/0.286, allocations: 177.6 kB / 0.9741 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/0.2862, allocations: 91.91 kB / 0.9742 GB, free: 15.78 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00215/0.2884, allocations: 1.696 MB / 0.9758 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.2884, allocations: 0 / 0.9758 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004527/0.2929, allocations: 1.836 MB / 0.9776 GB, free: 12.23 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.0007232/0.2936, allocations: 268.4 kB / 0.9779 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002808/0.2964, allocations: 1.906 MB / 0.9798 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 0.0001451/0.2966, allocations: 87.69 kB / 0.9798 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.2977, allocations: 1.014 MB / 0.9808 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007394/0.3051, allocations: 3.1 MB / 0.9839 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02986/0.3349, allocations: 9.562 MB / 0.9932 GB, free: 12.17 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/0.3363, allocations: 1.294 MB / 0.9945 GB, free: 10.85 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002846/0.3391, allocations: 0.7839 MB / 0.9952 GB, free: 10.07 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003736/0.3429, allocations: 1.578 MB / 0.9968 GB, free: 8.461 MB / 0.9792 GB Notification: Performance of SimCode: time 1.954e-06/0.3429, allocations: 0 / 0.9968 GB, free: 8.461 MB / 0.9792 GB Notification: Performance of Templates: time 0.5192/0.862, allocations: 104.6 MB / 1.099 GB, free: 155.3 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.089252439327538]