Package evaluation of StochDynamicProgramming on Julia 1.10.9 (96dc2d8c45*) started at 2025-06-06T18:15:58.772 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 5.12s ################################################################################ # Installation # Installing StochDynamicProgramming... Resolving package versions... Updating `~/.julia/environments/v1.10/Project.toml` [f6024387] + StochDynamicProgramming v0.6.0 Updating `~/.julia/environments/v1.10/Manifest.toml` ⌃ [13072b0f] + AxisAlgorithms v1.0.1 [6e4b80f9] + BenchmarkTools v1.6.0 [49dc2e85] + Calculus v0.5.2 [d360d2e6] + ChainRulesCore v1.25.1 ⌅ [523fee87] + CodecBzip2 v0.7.2 [944b1d66] + CodecZlib v0.7.8 [bbf7d656] + CommonSubexpressions v0.3.1 [34da2185] + Compat v4.16.0 ⌅ [65d46eb8] + CutPruners v0.2.0 [9a962f9c] + DataAPI v1.16.0 [864edb3b] + DataStructures v0.18.22 [8bb1440f] + DelimitedFiles v1.9.1 [163ba53b] + DiffResults v1.1.0 ⌃ [b552c78f] + DiffRules v1.14.0 ⌅ [31c24e10] + Distributions v0.23.12 ⌅ [ffbed154] + DocStringExtensions v0.8.6 ⌅ [1a297f60] + FillArrays v0.9.7 ⌅ [f6369f11] + ForwardDiff v0.10.38 ⌅ [cd3eb016] + HTTP v0.9.17 [83e8ac13] + IniFile v0.5.1 ⌅ [a98d9a8b] + Interpolations v0.12.10 [3587e190] + InverseFunctions v0.1.17 ⌅ [92d709cd] + IrrationalConstants v0.1.1 [692b3bcd] + JLLWrappers v1.7.0 [682c06a0] + JSON v0.21.4 ⌅ [7d188eb4] + JSONSchema v0.3.4 ⌅ [4076af6c] + JuMP v0.21.5 [2ab3a3ac] + LogExpFunctions v0.3.29 [1914dd2f] + MacroTools v0.5.16 ⌅ [b8f27783] + MathOptInterface v0.9.22 [739be429] + MbedTLS v1.1.9 [e1d29d7a] + Missings v1.2.0 ⌅ [d8a4904e] + MutableArithmetics v0.2.22 ⌅ [77ba4419] + NaNMath v0.3.7 [4d1e1d77] + Nullables v1.0.0 [6fe1bfb0] + OffsetArrays v1.17.0 [bac558e1] + OrderedCollections v1.8.1 ⌅ [90014a1f] + PDMats v0.10.1 [69de0a69] + Parsers v2.8.3 ⌅ [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 [92933f4c] + ProgressMeter v1.10.4 [1fd47b50] + QuadGK v2.11.2 [c84ed2f1] + Ratios v0.4.5 [189a3867] + Reexport v1.2.2 [ae029012] + Requires v1.3.1 ⌅ [79098fc4] + Rmath v0.7.1 [a2af1166] + SortingAlgorithms v1.2.1 ⌅ [276daf66] + SpecialFunctions v0.10.3 ⌅ [90137ffa] + StaticArrays v0.12.6 [1e83bf80] + StaticArraysCore v1.4.3 [82ae8749] + StatsAPI v1.7.1 ⌅ [2913bbd2] + StatsBase v0.33.21 ⌅ [4c63d2b9] + StatsFuns v0.9.18 [f6024387] + StochDynamicProgramming v0.6.0 ⌅ [3bb67fe8] + TranscodingStreams v0.9.13 [5c2747f8] + URIs v1.5.2 ⌅ [efce3f68] + WoodburyMatrices v0.5.6 [6e34b625] + Bzip2_jll v1.0.9+0 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 ⌅ [f50d1b31] + Rmath_jll v0.4.3+0 [56f22d72] + Artifacts [2a0f44e3] + Base64 [ade2ca70] + Dates [8ba89e20] + Distributed [b77e0a4c] + InteractiveUtils [76f85450] + LibGit2 [8f399da3] + Libdl [37e2e46d] + LinearAlgebra [56ddb016] + Logging [d6f4376e] + Markdown [a63ad114] + Mmap [ca575930] + NetworkOptions v1.2.0 [de0858da] + Printf [9abbd945] + Profile [9a3f8284] + Random [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization [1a1011a3] + SharedArrays [6462fe0b] + Sockets [2f01184e] + SparseArrays v1.10.0 [10745b16] + Statistics v1.10.0 [4607b0f0] + SuiteSparse [fa267f1f] + TOML v1.0.3 [8dfed614] + Test [cf7118a7] + UUIDs [4ec0a83e] + Unicode [e66e0078] + CompilerSupportLibraries_jll v1.1.1+0 [e37daf67] + LibGit2_jll v1.6.4+0 [29816b5a] + LibSSH2_jll v1.11.0+1 [c8ffd9c3] + MbedTLS_jll v2.28.2+1 [14a3606d] + MozillaCACerts_jll v2023.1.10 [4536629a] + OpenBLAS_jll v0.3.23+4 [bea87d4a] + SuiteSparse_jll v7.2.1+1 [83775a58] + Zlib_jll v1.2.13+1 [8e850b90] + libblastrampoline_jll v5.11.0+0 Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated -m` Installation completed after 8.38s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 130.66s ################################################################################ # Testing # Testing StochDynamicProgramming Status `/tmp/jl_JzI7vP/Project.toml` ⌃ [9961bab8] Cbc v0.8.1 ⌃ [e2554f3b] Clp v0.8.4 ⌅ [65d46eb8] CutPruners v0.2.0 [8bb1440f] DelimitedFiles v1.9.1 ⌅ [31c24e10] Distributions v0.23.12 ⌅ [ffbed154] DocStringExtensions v0.8.6 ⌅ [a98d9a8b] Interpolations v0.12.10 ⌅ [4076af6c] JuMP v0.21.5 [4d1e1d77] Nullables v1.0.0 [92933f4c] ProgressMeter v1.10.4 ⌅ [276daf66] SpecialFunctions v0.10.3 [f6024387] StochDynamicProgramming v0.6.0 [8ba89e20] Distributed [37e2e46d] LinearAlgebra [de0858da] Printf [9a3f8284] Random [1a1011a3] SharedArrays [10745b16] Statistics v1.10.0 [8dfed614] Test Status `/tmp/jl_JzI7vP/Manifest.toml` ⌃ [13072b0f] AxisAlgorithms v1.0.1 [6e4b80f9] BenchmarkTools v1.6.0 [b99e7846] BinaryProvider v0.5.10 ⌅ [fa961155] CEnum v0.4.2 [49dc2e85] Calculus v0.5.2 ⌃ [9961bab8] Cbc v0.8.1 [d360d2e6] ChainRulesCore v1.25.1 ⌃ [e2554f3b] Clp v0.8.4 ⌅ [523fee87] CodecBzip2 v0.7.2 [944b1d66] CodecZlib v0.7.8 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.16.0 ⌅ [65d46eb8] CutPruners v0.2.0 [9a962f9c] DataAPI v1.16.0 [864edb3b] DataStructures v0.18.22 [8bb1440f] DelimitedFiles v1.9.1 [163ba53b] DiffResults v1.1.0 ⌃ [b552c78f] DiffRules v1.14.0 ⌅ [31c24e10] Distributions v0.23.12 ⌅ [ffbed154] DocStringExtensions v0.8.6 ⌅ [1a297f60] FillArrays v0.9.7 ⌅ [f6369f11] ForwardDiff v0.10.38 ⌅ [cd3eb016] HTTP v0.9.17 [83e8ac13] IniFile v0.5.1 ⌅ [a98d9a8b] Interpolations v0.12.10 [3587e190] InverseFunctions v0.1.17 ⌅ [92d709cd] IrrationalConstants v0.1.1 [692b3bcd] JLLWrappers v1.7.0 [682c06a0] JSON v0.21.4 ⌅ [7d188eb4] JSONSchema v0.3.4 ⌅ [4076af6c] JuMP v0.21.5 [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.16 ⌅ [b8f27783] MathOptInterface v0.9.22 [739be429] MbedTLS v1.1.9 [e1d29d7a] Missings v1.2.0 ⌅ [d8a4904e] MutableArithmetics v0.2.22 ⌅ [77ba4419] NaNMath v0.3.7 [4d1e1d77] Nullables v1.0.0 [6fe1bfb0] OffsetArrays v1.17.0 [bac558e1] OrderedCollections v1.8.1 ⌅ [90014a1f] PDMats v0.10.1 [69de0a69] Parsers v2.8.3 ⌅ [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [92933f4c] ProgressMeter v1.10.4 [1fd47b50] QuadGK v2.11.2 [c84ed2f1] Ratios v0.4.5 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 ⌅ [79098fc4] Rmath v0.7.1 [a2af1166] SortingAlgorithms v1.2.1 ⌅ [276daf66] SpecialFunctions v0.10.3 ⌅ [90137ffa] StaticArrays v0.12.6 [1e83bf80] StaticArraysCore v1.4.3 [82ae8749] StatsAPI v1.7.1 ⌅ [2913bbd2] StatsBase v0.33.21 ⌅ [4c63d2b9] StatsFuns v0.9.18 [f6024387] StochDynamicProgramming v0.6.0 ⌅ [3bb67fe8] TranscodingStreams v0.9.13 [5c2747f8] URIs v1.5.2 ⌅ [efce3f68] WoodburyMatrices v0.5.6 [ae81ac8f] ASL_jll v0.1.3+0 [6e34b625] Bzip2_jll v1.0.9+0 ⌅ [38041ee0] Cbc_jll v200.1000.500+1 ⌃ [3830e938] Cgl_jll v0.6000.200+0 ⌃ [06985876] Clp_jll v100.1700.600+0 [be027038] CoinUtils_jll v200.1100.1100+0 [d00139f3] METIS_jll v5.1.3+0 [d7ed1dd3] MUMPS_seq_jll v500.800.0+0 ⌅ [656ef2d0] OpenBLAS32_jll v0.3.24+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [7da25872] Osi_jll v0.10800.1000+0 ⌅ [f50d1b31] Rmath_jll v0.4.3+0 [0dad84c5] ArgTools v1.1.1 [56f22d72] Artifacts [2a0f44e3] Base64 [ade2ca70] Dates [8ba89e20] Distributed [f43a241f] Downloads v1.6.0 [7b1f6079] FileWatching [b77e0a4c] InteractiveUtils [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 [8f399da3] Libdl [37e2e46d] LinearAlgebra [56ddb016] Logging [d6f4376e] Markdown [a63ad114] Mmap [ca575930] NetworkOptions v1.2.0 [44cfe95a] Pkg v1.10.0 [de0858da] Printf [9abbd945] Profile [3fa0cd96] REPL [9a3f8284] Random [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization [1a1011a3] SharedArrays [6462fe0b] Sockets [2f01184e] SparseArrays v1.10.0 [10745b16] Statistics v1.10.0 [4607b0f0] SuiteSparse [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test [cf7118a7] UUIDs [4ec0a83e] Unicode [e66e0078] CompilerSupportLibraries_jll v1.1.1+0 [deac9b47] LibCURL_jll v8.4.0+0 [e37daf67] LibGit2_jll v1.6.4+0 [29816b5a] LibSSH2_jll v1.11.0+1 [c8ffd9c3] MbedTLS_jll v2.28.2+1 [14a3606d] MozillaCACerts_jll v2023.1.10 [4536629a] OpenBLAS_jll v0.3.23+4 [bea87d4a] SuiteSparse_jll v7.2.1+1 [83775a58] Zlib_jll v1.2.13+1 [8e850b90] libblastrampoline_jll v5.11.0+0 [8e850ede] nghttp2_jll v1.52.0+1 [3f19e933] p7zip_jll v17.4.0+2 Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. Testing Running tests... Test Summary: | Pass Total Time Probability functions | 11 11 13.5s Test Summary: | Pass Total Time Risk measure | 18 18 1m07.6s Initialize cuts Starting SDDP iterations Pass n 1 Upper-bound: -1.1000e+03 Lower-bound: -1.3480e+03 Time: 0.01s Pass n 2 Upper-bound: -1.4000e+03 Lower-bound: -1.3480e+03 Time: 0.01s Compute final upper-bound with 1000 scenarios... ############################################################ SDDP CONVERGENCE - Exact lower bound: -1.3480e+03 [Gap < 0.63%] - Estimation of upper-bound: -1.3464e+03 - Upper-bound's s.t.d: 1.1099e+02 - Confidence interval (95 percent): [-1.3533e+03 , -1.3395e+03] ############################################################ Test Summary: | Pass Total Time SDDP algorithm: 1D case | 22 22 46.6s Linear cost: Error During Test at /home/pkgeval/.julia/packages/StochDynamicProgramming/8r6Fh/test/sddp.jl:240 Got exception outside of a @test Expression contains an invalid NaN constant. This could be produced by `Inf - Inf`. Stacktrace: [1] error(s::String) @ Base ./error.jl:35 [2] _assert_isfinite(a::AffExpr) @ JuMP ~/.julia/packages/JuMP/qhoVb/src/aff_expr.jl:333 [3] MathOptInterface.ScalarAffineFunction(a::AffExpr) @ JuMP ~/.julia/packages/JuMP/qhoVb/src/aff_expr.jl:364 [4] moi_function @ ~/.julia/packages/JuMP/qhoVb/src/aff_expr.jl:370 [inlined] [5] moi_function @ ~/.julia/packages/JuMP/qhoVb/src/constraints.jl:287 [inlined] [6] add_constraint(model::Model, con::ScalarConstraint{AffExpr, MathOptInterface.LessThan{Float64}}, name::String) @ JuMP ~/.julia/packages/JuMP/qhoVb/src/constraints.jl:408 [7] add_constraint @ ~/.julia/packages/JuMP/qhoVb/src/constraints.jl:407 [inlined] [8] _broadcast_getindex_evalf @ ./broadcast.jl:709 [inlined] [9] _broadcast_getindex @ ./broadcast.jl:682 [inlined] [10] getindex @ ./broadcast.jl:636 [inlined] [11] copyto_nonleaf!(dest::Vector{ConstraintRef{Model, MathOptInterface.ConstraintIndex{MathOptInterface.ScalarAffineFunction{Float64}, MathOptInterface.LessThan{Float64}}, ScalarShape}}, bc::Base.Broadcast.Broadcasted{Base.Broadcast.DefaultArrayStyle{1}, Tuple{Base.OneTo{Int64}}, typeof(add_constraint), Tuple{Base.RefValue{Model}, Base.Broadcast.Broadcasted{Base.Broadcast.DefaultArrayStyle{1}, Nothing, typeof(build_constraint), Tuple{Base.RefValue{JuMP.var"#_error#85"{Symbol, LineNumberNode}}, Base.Broadcast.Extruded{Vector{AffExpr}, Tuple{Bool}, Tuple{Int64}}, Base.RefValue{MathOptInterface.LessThan{Float64}}}}}}, iter::Base.OneTo{Int64}, state::Int64, count::Int64) @ Base.Broadcast ./broadcast.jl:1098 [12] copy @ ./broadcast.jl:950 [inlined] [13] materialize(bc::Base.Broadcast.Broadcasted{Base.Broadcast.DefaultArrayStyle{1}, Nothing, typeof(add_constraint), Tuple{Base.RefValue{Model}, Base.Broadcast.Broadcasted{Base.Broadcast.DefaultArrayStyle{1}, Nothing, typeof(build_constraint), Tuple{Base.RefValue{JuMP.var"#_error#85"{Symbol, LineNumberNode}}, Vector{AffExpr}, Base.RefValue{MathOptInterface.LessThan{Float64}}}}}}) @ Base.Broadcast ./broadcast.jl:903 [14] macro expansion @ ~/.julia/packages/JuMP/qhoVb/src/macros.jl:441 [inlined] [15] extensive_formulation(model::LinearSPModel, param::SDDPparameters; verbosity::Int64) @ StochDynamicProgramming ~/.julia/packages/StochDynamicProgramming/8r6Fh/src/extensiveFormulation.jl:71 [16] extensive_formulation(model::LinearSPModel, param::SDDPparameters) @ StochDynamicProgramming ~/.julia/packages/StochDynamicProgramming/8r6Fh/src/extensiveFormulation.jl:23 [17] macro expansion @ ~/.julia/packages/StochDynamicProgramming/8r6Fh/test/sddp.jl:272 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] macro expansion @ ~/.julia/packages/StochDynamicProgramming/8r6Fh/test/sddp.jl:242 [inlined] [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [21] top-level scope @ ~/.julia/packages/StochDynamicProgramming/8r6Fh/test/sddp.jl:198 [22] include(fname::String) @ Base.MainInclude ./client.jl:494 [23] top-level scope @ ~/.julia/packages/StochDynamicProgramming/8r6Fh/test/runtests.jl:26 [24] include(fname::String) @ Base.MainInclude ./client.jl:494 [25] top-level scope @ none:6 [26] eval @ ./boot.jl:385 [inlined] [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [28] _start() @ Base ./client.jl:557 Test Summary: | Pass Error Total Time SDDP algorithm: 2D case | 9 1 10 14.3s Linear cost | 6 1 7 14.1s Dump | 3 3 0.1s ERROR: LoadError: Some tests did not pass: 9 passed, 0 failed, 1 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/StochDynamicProgramming/8r6Fh/test/sddp.jl:197 in expression starting at /home/pkgeval/.julia/packages/StochDynamicProgramming/8r6Fh/test/runtests.jl:26 Testing failed after 176.15s ERROR: LoadError: Package StochDynamicProgramming errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:2034 [3] test @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:1915 [inlined] [4] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::Base.PipeEndpoint}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:444 [5] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.PipeEndpoint, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:159 [6] test @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined] [7] #test#74 @ /opt/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:146 [inlined] [8] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:219 in expression starting at /PkgEval.jl/scripts/evaluate.jl:210 PkgEval failed after 344.24s: package tests unexpectedly errored