Skip to content

Catch up to PVTO changes in tests #112

Catch up to PVTO changes in tests

Catch up to PVTO changes in tests #112

Triggered via push February 7, 2024 10:20
Status Cancelled
Total duration 48m 7s
Artifacts

CI.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 11 warnings, and 1 notice
Julia 1.9 - ubuntu-latest - x64 - push
Process completed with exit code 1.
Documentation
The operation was canceled.
Julia 1.9 - ubuntu-latest - x64 - push
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Julia 1.9 - ubuntu-latest - x64 - push
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/co2_brine_2d_vertical.md:78-92 ```@example co2_brine_2d_vertical dt0 = repeat([1]*day, 26) dt1 = repeat([10.0]*day, 180) dt = append!(dt0, dt1) rate_target = TotalRateTarget(9.5066e-06*meter^3/sec) I_ctrl = InjectorControl(rate_target, [0, 1], density = rhoVS) bhp_target = BottomHolePressureTarget(50*bar) P_ctrl = ProducerControl(bhp_target) controls = Dict() controls[:Injector] = I_ctrl controls[:Producer] = P_ctrl forces = setup_reservoir_forces(model, control = controls) ws, states = simulate_reservoir(state0, model, dt, parameters = parameters, forces = forces) ``` exception = Bad vapor fraction from flash Stacktrace: [1] error(s::String) @ Base ./error.jl:35 [2] flash_2ph!(storage::@NamedTuple{buffer1::StaticArraysCore.MVector{2, Float64}, forces_secondary::@NamedTuple{A_ij::StaticArraysCore.MMatrix{2, 2, ForwardDiff.Dual{ForwardDiff.Tag{Val{:InverseFlash}, Nothing}, Float64, 4}, 4}, A_i::StaticArraysCore.MVector{2, ForwardDiff.Dual{ForwardDiff.Tag{Val{:InverseFlash}, Nothing}, Float64, 4}}, B_i::StaticArraysCore.MVector{2, ForwardDiff.Dual{ForwardDiff.Tag{Val{:InverseFlash}, Nothing}, Float64, 4}}}, AD_cond::@NamedTuple{p::ForwardDiff.Dual{ForwardDiff.Tag{Val{:InverseFlash}, Nothing}, Float64, 4}, T::ForwardDiff.Dual{ForwardDiff.Tag{Val{:InverseFlash}, Nothing}, Float64, 4}, z::StaticArraysCore.MVector{2, ForwardDiff.Dual{ForwardDiff.Tag{Val{:InverseFlash}, Nothing}, Float64, 4}}}, J_inv::StaticArraysCore.MMatrix{5, 4, Float64, 20}, x::StaticArraysCore.MVector{2, Float64}, AD::@NamedTuple{x::StaticArraysCore.MVector{2, ForwardDiff.Dual{ForwardDiff.Tag{Val{:Flash}, Nothing}, Float64, 5}}, y::StaticArraysCore.MVector{2, ForwardDiff.Dual{ForwardDiff.Tag{Val{:Flash}, Nothing}, Float64, 5}}, V::ForwardDiff.Dual{ForwardDiff.Tag{Val{:Flash}, Nothing}, Float64, 5}}, buffer2::StaticArraysCore.MVector{2, Float64}, r::StaticArraysCore.MVector{5, Float64}, forces::@NamedTuple{A_ij::StaticArraysCore.MMatrix{2, 2, Float64, 4}, A_i::StaticArraysCore.MVector{2, Float64}, B_i::StaticArraysCore.MVector{2, Float64}}, J::StaticArraysCore.MMatrix{5, 5, Float64, 25}, y::StaticArraysCore.MVector{2, Float64}, buf_inv::StaticArraysCore.MVector{2, Float64}}, K::Vector{Float64}, eos::MultiComponentFlash.GenericCubicEOS{MultiComponentFlash.PengRobinson, Float64, 2, Nothing}, c::@NamedTuple{p::Float64, T::Float64, z::Vector{Float64}}, V::Float64; method::MultiComponentFlash.SSIFlash, verbose::Bool, maxiter::Int64, tolerance::Float64, extra_out::Bool, update_forces::Bool, check::Bool, z_min::Nothing, kwarg::@kwargs{}) @ MultiComponentFlash ~/.julia/packages/MultiComponentFlash/opaQj/src/flash.jl:103 [3] flash_2ph! @ ~/.julia/packages/MultiComponentFlash/opaQj/src/flash.jl:62 [inlined] [4] update_flash_result(S::@NamedTuple{buffer1::StaticArraysCore.MVector{2, Float64}, forces_secondary::@NamedTuple{A_ij::StaticArraysCore.MMatrix{2, 2, ForwardDiff.Dual{ForwardDiff.Tag{Val{:InverseFlash}, Nothing}, Float64, 4}, 4}, A_i::StaticArraysCore.MVector{2, ForwardDiff.Dual{ForwardDiff.Tag{Val{:InverseFlash}, Nothing}, Float64, 4}}, B_i::StaticArraysCore.MVector{2, ForwardDiff.Dual{ForwardDiff.Tag{Val{:InverseFlash}, Nothing}, Float64, 4}}}, AD_cond::@NamedTuple{p::ForwardDiff.Dual{ForwardDiff.Tag{Val{:InverseFlash}, Nothing}, Float64, 4}, T::ForwardDiff.Dual{ForwardDiff.Tag{Val{:InverseFlash}, Nothing}, Float64, 4}, z::StaticArraysCore.MVector{2, ForwardDiff.Dual{ForwardDiff.Tag{Val{:InverseFlash}, Nothing}, Float64, 4}}}, J_inv::StaticArraysCore.MMatrix{5, 4, Float64, 20}, x::StaticArraysCore.MVector{2, Float64}, AD::@NamedTuple{x::StaticArraysCore.MVector{2, ForwardDiff.Dual{ForwardDiff.Tag{Val{:Flash}, Nothing}, Float64, 5}}, y::StaticArraysCore.MVector{2, ForwardDiff.Dual{ForwardDiff.Tag{Val{:Flash}, Nothing}, Float64, 5}}, V::ForwardDiff.Dual{ForwardDiff.Tag{Val{:Flash}, Nothing}, Float64, 5}}, buffer2::StaticArraysCore.MVector{2, Float64}, r::StaticArraysCore.MVector{5, Float64}, forces::@NamedTuple{A_ij::StaticArraysCore.MMatrix{2, 2, Float64
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/co2_brine_2d_vertical.md:100-110 ```@example co2_brine_2d_vertical z = states[end][:OverallMoleFractions][2, :] function plot_vertical(x, t) data = reshape(x, (nx, nz)) data = data[:, end:-1:1] fig, ax, plot = heatmap(data) ax.title = t Colorbar(fig[1, 2], plot) fig end ``` exception = UndefVarError: `states` not defined Stacktrace: [1] top-level scope @ co2_brine_2d_vertical.md:101 [2] eval @ ./boot.jl:385 [inlined] [3] #58 @ ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#4#7"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:161 [7] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [8] with_logger @ ./logging.jl:627 [inlined] [9] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer) @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:158 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/co2_brine_2d_vertical.md:114-116 ```@example co2_brine_2d_vertical plot_vertical(z, "CO2") ``` exception = UndefVarError: `plot_vertical` not defined Stacktrace: [1] top-level scope @ co2_brine_2d_vertical.md:115 [2] eval @ ./boot.jl:385 [inlined] [3] #58 @ ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#4#7"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:161 [7] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [8] with_logger @ ./logging.jl:627 [inlined] [9] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer) @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:158 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/co2_brine_2d_vertical.md:120-123 ```@example co2_brine_2d_vertical sg = states[end][:Saturations][2, :] plot_vertical(sg, "Vapor saturation") ``` exception = UndefVarError: `states` not defined Stacktrace: [1] top-level scope @ co2_brine_2d_vertical.md:121 [2] eval @ ./boot.jl:385 [inlined] [3] #58 @ ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#4#7"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:161 [7] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [8] with_logger @ ./logging.jl:627 [inlined] [9] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer) @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:158 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/co2_brine_2d_vertical.md:127-130 ```@example co2_brine_2d_vertical p = states[end][:Pressure] plot_vertical(p./bar, "Pressure [bar]") ``` exception = UndefVarError: `states` not defined Stacktrace: [1] top-level scope @ co2_brine_2d_vertical.md:128 [2] eval @ ./boot.jl:385 [inlined] [3] #58 @ ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#4#7"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:161 [7] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [8] with_logger @ ./logging.jl:627 [inlined] [9] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer) @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:158 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/compositional_5components.md:60-83 ```@example compositional_5components sys = MultiPhaseCompositionalSystemLV(eos, (L, V)) model, parameters = setup_reservoir_model(res, sys, wells = [inj, prod], reference_densities = rhoS, block_backend = true); kr = BrooksCoreyRelativePermeabilities(sys, 2.0, 0.0, 1.0) model = replace_variables!(model, RelativePermeabilities = kr) push!(model[:Reservoir].output_variables, :Saturations) parameters[:Reservoir][:Temperature] = 387.45*Kelvin state0 = setup_reservoir_state(model, Pressure = 225*bar, OverallMoleFractions = [0.463, 0.01640, 0.20520, 0.19108, 0.12432]); dt = repeat([2.0]*day, 365) rate_target = TotalRateTarget(0.0015) I_ctrl = InjectorControl(rate_target, [0, 1, 0, 0, 0], density = rhoVS) bhp_target = BottomHolePressureTarget(100*bar) P_ctrl = ProducerControl(bhp_target) controls = Dict() controls[:Injector] = I_ctrl controls[:Producer] = P_ctrl forces = setup_reservoir_forces(model, control = controls) ws, states = simulate_reservoir(state0, model, dt, parameters = parameters, forces = forces) #! ``` exception = BoundsError: attempt to access 3-element UnitRange{Int64} at index [4] Stacktrace: [1] check_for_inner_exception(dt::Float64, s::OrderedCollections.OrderedDict{Any, Any}) @ Jutul ~/.julia/packages/Jutul/tlrVE/src/simulator/simulator.jl:706 [2] solve_timestep!(sim::Simulator{Jutul.DefaultExecutor, MultiModel{nothing}, JutulStorage{Nothing}}, dT::Float64, forces::Dict{Symbol, Any}, max_its::Int64, config::JutulConfig; dt::Float64, reports::Vector{Any}, step_no::Int64, info_level::Int64, rec::ProgressRecorder, kwarg::@kwargs{}) @ Jutul ~/.julia/packages/Jutul/tlrVE/src/simulator/simulator.jl:248 [3] macro expansion @ ./timing.jl:395 [inlined] [4] simulate!(sim::Simulator{Jutul.DefaultExecutor, MultiModel{nothing}, JutulStorage{Nothing}}, timesteps::Vector{Float64}; forces::Dict{Symbol, Any}, config::JutulConfig, initialize::Bool, restart::Bool, state0::Nothing, parameters::Nothing, forces_per_step::Bool, start_date::Nothing, kwarg::@kwargs{}) @ Jutul ~/.julia/packages/Jutul/tlrVE/src/simulator/simulator.jl:179 [5] simulate! @ Jutul ~/.julia/packages/Jutul/tlrVE/src/simulator/simulator.jl:125 [inlined] [6] #simulate_reservoir#57 @ JutulDarcy ~/work/JutulDarcy.jl/JutulDarcy.jl/src/utils.jl:451 [inlined] [7] top-level scope @ compositional_5components.md:81 [8] eval @ ./boot.jl:385 [inlined] [9] #58 @ ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:754 [inlined] [10] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [11] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:753 [12] (::IOCapture.var"#4#7"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:161 [13] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [14] with_logger @ ./logging.jl:627 [inlined] [15] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer) @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:158 [16] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/compositional_5components.md:87-99 ```@example compositional_5components sg = states[end][:OverallMoleFractions][2, :] fig, ax, p = plot_cell_data(g, sg) fig #! sg = states[end][:Saturations][2, :] fig, ax, p = plot_cell_data(g, sg) fig #! p = states[end][:Pressure] fig, ax, p = plot_cell_data(g, p) fig ``` exception = UndefVarError: `states` not defined Stacktrace: [1] top-level scope @ compositional_5components.md:88 [2] eval @ ./boot.jl:385 [inlined] [3] #58 @ ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#4#7"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:161 [7] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [8] with_logger @ ./logging.jl:627 [inlined] [9] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer) @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:158 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:752
Documentation
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, julia-actions/setup-julia@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Documentation
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
[julia-buildpkg] Caching of the julia depot was not detected
Consider using `julia-actions/cache` to speed up runs https://github.com/julia-actions/cache. To ignore, set input `ignore-no-cache: true`