Package evaluation of PowerAnalytics on Julia 1.10.9 (96dc2d8c45*) started at 2025-06-06T22:17:11.891 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 5.39s ################################################################################ # Installation # Installing PowerAnalytics... Resolving package versions... Installed Pardiso ─ v0.5.7 Updating `~/.julia/environments/v1.10/Project.toml` [56ce1300] + PowerAnalytics v1.0.1 Updating `~/.julia/environments/v1.10/Manifest.toml` [47edcb42] + ADTypes v1.14.0 [1520ce14] + AbstractTrees v0.4.5 [79e6a3ab] + Adapt v4.3.0 [13e28ba4] + AppleAccelerate v0.4.1 [4fba245c] + ArrayInterface v7.19.0 [6e4b80f9] + BenchmarkTools v1.6.0 [a74b3585] + Blosc v0.7.3 [336ed68f] + CSV v0.10.15 [523fee87] + CodecBzip2 v0.8.5 [944b1d66] + CodecZlib v0.7.8 [bbf7d656] + CommonSubexpressions v0.3.1 [34da2185] + Compat v4.16.0 [187b0558] + ConstructionBase v1.5.8 [a8cc5b0e] + Crayons v4.1.1 [a10d1c49] + DBInterface v2.6.1 [9a962f9c] + DataAPI v1.16.0 [a93c6f00] + DataFrames v1.7.0 [864edb3b] + DataStructures v0.18.22 [e2d170a0] + DataValueInterfaces v1.0.0 [8bb1440f] + DelimitedFiles v1.9.1 [163ba53b] + DiffResults v1.1.0 [b552c78f] + DiffRules v1.15.1 ⌅ [a0c0ee7d] + DifferentiationInterface v0.6.54 [b4f34e82] + Distances v0.10.12 [ffbed154] + DocStringExtensions v0.9.4 [e2ba6199] + ExprTools v0.1.10 [48062228] + FilePathsBase v0.9.24 [6a86dc24] + FiniteDiff v2.27.0 [f6369f11] + ForwardDiff v1.0.1 [c8ec2601] + H5Zblosc v0.1.2 [f67ccb44] + HDF5 v0.17.2 [2030c09a] + InfrastructureModels v0.7.8 [2cd47ed4] + InfrastructureSystems v2.6.0 [842dd82b] + InlineStrings v1.4.3 [41ab1584] + InvertedIndices v1.3.1 [92d709cd] + IrrationalConstants v0.2.4 [82899510] + IteratorInterfaceExtensions v1.0.0 [692b3bcd] + JLLWrappers v1.7.0 [682c06a0] + JSON v0.21.4 [0f8b85d8] + JSON3 v1.14.3 [4076af6c] + JuMP v1.26.0 [ef3ab10e] + KLU v0.6.0 [b964fa9f] + LaTeXStrings v1.4.0 [1d6d02ad] + LeftChildRightSiblingTrees v0.2.0 [d3d80556] + LineSearches v7.3.0 [2ab3a3ac] + LogExpFunctions v0.3.29 ⌅ [33e6dc65] + MKL v0.7.0 [3da0fdf6] + MPIPreferences v0.1.11 [1914dd2f] + MacroTools v0.5.16 [b8f27783] + MathOptInterface v1.40.2 [f28f55f0] + Memento v1.4.1 [e1d29d7a] + Missings v1.2.0 [ffc61752] + Mustache v1.0.21 [d8a4904e] + MutableArithmetics v1.6.4 [d41bc354] + NLSolversBase v7.9.1 [2774e3e8] + NLsolve v4.5.1 [77ba4419] + NaNMath v1.1.3 [bac558e1] + OrderedCollections v1.8.1 [d96e819e] + Parameters v0.12.3 ⌅ [46dd5b70] + Pardiso v0.5.7 [69de0a69] + Parsers v2.8.3 [2dfb63ee] + PooledArrays v1.4.3 [56ce1300] + PowerAnalytics v1.0.1 [dd99e9e3] + PowerFlowData v1.5.0 ⌅ [94fada2c] + PowerFlows v0.8.0 [c36e90e8] + PowerModels v0.21.4 ⌅ [bed98974] + PowerNetworkMatrices v0.12.1 [e690365d] + PowerSimulations v0.30.1 [bcd98974] + PowerSystems v4.6.2 ⌅ [aea7be01] + PrecompileTools v1.2.1 [21216c6a] + Preferences v1.4.3 [08abe8d2] + PrettyTables v2.4.0 [33c8b6b6] + ProgressLogging v0.1.4 [92933f4c] + ProgressMeter v1.10.4 [3cdcf5f2] + RecipesBase v1.3.4 [189a3867] + Reexport v1.2.2 [ae029012] + Requires v1.3.1 [0aa819cd] + SQLite v1.6.1 [91c51154] + SentinelArrays v1.4.8 [efcf1570] + Setfield v1.1.2 [a2af1166] + SortingAlgorithms v1.2.1 [276daf66] + SpecialFunctions v2.5.1 [1e83bf80] + StaticArraysCore v1.4.3 [82ae8749] + StatsAPI v1.7.1 [69024149] + StringEncodings v0.3.7 [892a3eda] + StringManipulation v0.4.1 [856f2bd8] + StructTypes v1.11.0 [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.12.1 [5d786b92] + TerminalLoggers v0.1.7 [9e3dc215] + TimeSeries v0.24.2 [a759f4b9] + TimerOutputs v0.5.29 [3bb67fe8] + TranscodingStreams v0.11.3 [3a884ed6] + UnPack v1.0.2 [ea10d353] + WeakRefStrings v1.4.2 [76eceee3] + WorkerUtilities v1.6.1 [ddb6d928] + YAML v0.4.14 [0b7ba130] + Blosc_jll v1.21.7+0 [6e34b625] + Bzip2_jll v1.0.9+0 [0234f1f7] + HDF5_jll v1.14.6+0 [e33a78d0] + Hwloc_jll v2.12.1+0 ⌅ [1d5cc7b8] + IntelOpenMP_jll v2024.2.1+0 [94ce4f54] + Libiconv_jll v1.18.0+0 [5ced341a] + Lz4_jll v1.10.1+0 ⌅ [856f044c] + MKL_jll v2024.2.0+0 [7cb0a576] + MPICH_jll v4.3.0+1 [f1f71cc9] + MPItrampoline_jll v5.5.3+0 [9237b28f] + MicrosoftMPI_jll v10.1.4+3 [fe0851c0] + OpenMPI_jll v5.0.7+2 [458c3c95] + OpenSSL_jll v3.5.0+0 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [76ed43ae] + SQLite_jll v3.48.0+0 [3161d3a3] + Zstd_jll v1.5.7+1 [477f73a3] + libaec_jll v1.1.3+0 [1317d2d5] + oneTBB_jll v2022.0.0+0 [0dad84c5] + ArgTools v1.1.1 [56f22d72] + Artifacts [2a0f44e3] + Base64 [ade2ca70] + Dates [8ba89e20] + Distributed [f43a241f] + Downloads v1.6.0 [7b1f6079] + FileWatching [9fa8497b] + Future [b77e0a4c] + InteractiveUtils [4af54fe1] + LazyArtifacts [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 [6462fe0b] + Sockets [2f01184e] + SparseArrays v1.10.0 [10745b16] + Statistics v1.10.0 [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 [05823500] + OpenLibm_jll v0.8.5+0 [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 ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Building Pardiso → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/4b618484bf94a52f02595cd73ac8a6417f4c0c70/build.log` Installation completed after 17.18s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 542.35s ################################################################################ # Testing # Testing PowerAnalytics Status `/tmp/jl_P3SpoV/Project.toml` [336ed68f] CSV v0.10.15 [a93c6f00] DataFrames v1.7.0 [864edb3b] DataStructures v0.18.22 [87dc4568] HiGHS v1.18.0 [fc1677e0] HydroPowerSimulations v0.11.1 [2cd47ed4] InfrastructureSystems v2.6.0 [56ce1300] PowerAnalytics v1.0.1 [e690365d] PowerSimulations v0.30.1 [f00506e0] PowerSystemCaseBuilder v1.3.11 [bcd98974] PowerSystems v4.6.2 [e2f1a126] StorageSystemsSimulations v0.12.0 [98d24dd4] TestSetExtensions v3.0.0 [9e3dc215] TimeSeries v0.24.2 [ddb6d928] YAML v0.4.14 [ade2ca70] Dates [b77e0a4c] InteractiveUtils [56ddb016] Logging [9a3f8284] Random [8dfed614] Test Status `/tmp/jl_P3SpoV/Manifest.toml` [47edcb42] ADTypes v1.14.0 [1520ce14] AbstractTrees v0.4.5 [79e6a3ab] Adapt v4.3.0 [13e28ba4] AppleAccelerate v0.4.1 [4fba245c] ArrayInterface v7.19.0 [6e4b80f9] BenchmarkTools v1.6.0 [a74b3585] Blosc v0.7.3 [336ed68f] CSV v0.10.15 [523fee87] CodecBzip2 v0.8.5 [944b1d66] CodecZlib v0.7.8 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.16.0 [187b0558] ConstructionBase v1.5.8 [a8cc5b0e] Crayons v4.1.1 [a10d1c49] DBInterface v2.6.1 [9a962f9c] DataAPI v1.16.0 [a93c6f00] DataFrames v1.7.0 [864edb3b] DataStructures v0.18.22 [e2d170a0] DataValueInterfaces v1.0.0 [ab62b9b5] DeepDiffs v1.2.0 [8bb1440f] DelimitedFiles v1.9.1 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 ⌅ [a0c0ee7d] DifferentiationInterface v0.6.54 [b4f34e82] Distances v0.10.12 [ffbed154] DocStringExtensions v0.9.4 [e2ba6199] ExprTools v0.1.10 [48062228] FilePathsBase v0.9.24 [6a86dc24] FiniteDiff v2.27.0 [f6369f11] ForwardDiff v1.0.1 [c8ec2601] H5Zblosc v0.1.2 [f67ccb44] HDF5 v0.17.2 [87dc4568] HiGHS v1.18.0 [fc1677e0] HydroPowerSimulations v0.11.1 [2030c09a] InfrastructureModels v0.7.8 [2cd47ed4] InfrastructureSystems v2.6.0 [842dd82b] InlineStrings v1.4.3 [41ab1584] InvertedIndices v1.3.1 [92d709cd] IrrationalConstants v0.2.4 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.7.0 [682c06a0] JSON v0.21.4 [0f8b85d8] JSON3 v1.14.3 [4076af6c] JuMP v1.26.0 [ef3ab10e] KLU v0.6.0 [b964fa9f] LaTeXStrings v1.4.0 [1d6d02ad] LeftChildRightSiblingTrees v0.2.0 [d3d80556] LineSearches v7.3.0 [2ab3a3ac] LogExpFunctions v0.3.29 ⌅ [33e6dc65] MKL v0.7.0 [3da0fdf6] MPIPreferences v0.1.11 [1914dd2f] MacroTools v0.5.16 [b8f27783] MathOptInterface v1.40.2 [f28f55f0] Memento v1.4.1 [e1d29d7a] Missings v1.2.0 [ffc61752] Mustache v1.0.21 [d8a4904e] MutableArithmetics v1.6.4 [d41bc354] NLSolversBase v7.9.1 [2774e3e8] NLsolve v4.5.1 [77ba4419] NaNMath v1.1.3 [bac558e1] OrderedCollections v1.8.1 [d96e819e] Parameters v0.12.3 ⌅ [46dd5b70] Pardiso v0.5.7 [69de0a69] Parsers v2.8.3 [2dfb63ee] PooledArrays v1.4.3 [56ce1300] PowerAnalytics v1.0.1 [dd99e9e3] PowerFlowData v1.5.0 ⌅ [94fada2c] PowerFlows v0.8.0 [c36e90e8] PowerModels v0.21.4 ⌅ [bed98974] PowerNetworkMatrices v0.12.1 [e690365d] PowerSimulations v0.30.1 [f00506e0] PowerSystemCaseBuilder v1.3.11 [bcd98974] PowerSystems v4.6.2 ⌅ [aea7be01] PrecompileTools v1.2.1 [21216c6a] Preferences v1.4.3 [08abe8d2] PrettyTables v2.4.0 [33c8b6b6] ProgressLogging v0.1.4 [92933f4c] ProgressMeter v1.10.4 [3cdcf5f2] RecipesBase v1.3.4 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 [0aa819cd] SQLite v1.6.1 [91c51154] SentinelArrays v1.4.8 [efcf1570] Setfield v1.1.2 [a2af1166] SortingAlgorithms v1.2.1 [276daf66] SpecialFunctions v2.5.1 [1e83bf80] StaticArraysCore v1.4.3 [82ae8749] StatsAPI v1.7.1 [e2f1a126] StorageSystemsSimulations v0.12.0 [69024149] StringEncodings v0.3.7 [892a3eda] StringManipulation v0.4.1 [856f2bd8] StructTypes v1.11.0 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.1 [5d786b92] TerminalLoggers v0.1.7 [98d24dd4] TestSetExtensions v3.0.0 [9e3dc215] TimeSeries v0.24.2 [a759f4b9] TimerOutputs v0.5.29 [3bb67fe8] TranscodingStreams v0.11.3 [3a884ed6] UnPack v1.0.2 [ea10d353] WeakRefStrings v1.4.2 [76eceee3] WorkerUtilities v1.6.1 [ddb6d928] YAML v0.4.14 [0b7ba130] Blosc_jll v1.21.7+0 [6e34b625] Bzip2_jll v1.0.9+0 [0234f1f7] HDF5_jll v1.14.6+0 [8fd58aa0] HiGHS_jll v1.11.0+0 [e33a78d0] Hwloc_jll v2.12.1+0 ⌅ [1d5cc7b8] IntelOpenMP_jll v2024.2.1+0 [94ce4f54] Libiconv_jll v1.18.0+0 [5ced341a] Lz4_jll v1.10.1+0 ⌅ [856f044c] MKL_jll v2024.2.0+0 [7cb0a576] MPICH_jll v4.3.0+1 [f1f71cc9] MPItrampoline_jll v5.5.3+0 [9237b28f] MicrosoftMPI_jll v10.1.4+3 [fe0851c0] OpenMPI_jll v5.0.7+2 [458c3c95] OpenSSL_jll v3.5.0+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [76ed43ae] SQLite_jll v3.48.0+0 [3161d3a3] Zstd_jll v1.5.7+1 [477f73a3] libaec_jll v1.1.3+0 [1317d2d5] oneTBB_jll v2022.0.0+0 [0dad84c5] ArgTools v1.1.1 [56f22d72] Artifacts [2a0f44e3] Base64 [ade2ca70] Dates [8ba89e20] Distributed [f43a241f] Downloads v1.6.0 [7b1f6079] FileWatching [9fa8497b] Future [b77e0a4c] InteractiveUtils [4af54fe1] LazyArtifacts [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 [6462fe0b] Sockets [2f01184e] SparseArrays v1.10.0 [10745b16] Statistics v1.10.0 [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 [05823500] OpenLibm_jll v0.8.5+0 [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 ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... test_builtin_component_selectors: test_builtin_metrics: metric_name = calc_capacity_factor: Error During Test at /home/pkgeval/.julia/packages/PowerAnalytics/jvxjs/test/test_builtin_metrics.jl:55 Test threw exception Expression: calc_capacity_factor(make_selector(RenewableDispatch), results_uc) isa ResultType MethodError: no method matching zero(::Type{SubArray{Float64, 1, Matrix{Float64}, Tuple{Base.Slice{Base.OneTo{Int64}}, Int64}, true}}) Closest candidates are: zero(!Matched::Type{Union{}}, Any...) @ Base number.jl:310 zero(!Matched::Type{MutableArithmetics.Zero}) @ MutableArithmetics ~/.julia/packages/MutableArithmetics/tNSBd/src/rewrite.jl:35 zero(!Matched::Type{Pkg.Resolve.FieldValue}) @ Pkg /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Resolve/fieldvalues.jl:38 ... Stacktrace: [1] zero(x::Vector{SubArray{Float64, 1, Matrix{Float64}, Tuple{Base.Slice{Base.OneTo{Int64}}, Int64}, true}}) @ Base ./abstractarray.jl:1205 [2] weighted_mean(vals::Vector{SubArray{Float64, 1, Matrix{Float64}, Tuple{Base.Slice{Base.OneTo{Int64}}, Int64}, true}}, weights::Vector{Vector{Float64}}) @ PowerAnalytics ~/.julia/packages/PowerAnalytics/jvxjs/src/builtin_metrics.jl:25 [3] _compute_one(metric::ComponentTimedMetric, results::PowerSimulations.SimulationProblemResults{PowerSimulations.DecisionModelSimulationResults}, selector::InfrastructureSystems.NameComponentSelector; kwargs::@Kwargs{}) @ PowerAnalytics ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:383 [4] _compute_one @ ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:359 [inlined] [5] #104 @ ./none:0 [inlined] [6] iterate @ ./generator.jl:47 [inlined] [7] collect(itr::Base.Generator{Base.Generator{InfrastructureSystems.FlattenIteratorWrapper{RenewableDispatch, Vector{Base.ValueIterator}}, typeof(make_selector)}, PowerAnalytics.var"#104#105"{@Kwargs{}, ComponentTimedMetric, PowerSimulations.SimulationProblemResults{PowerSimulations.DecisionModelSimulationResults}}}) @ Base ./array.jl:834 [8] compute(metric::ComponentTimedMetric, results::PowerSimulations.SimulationProblemResults{PowerSimulations.DecisionModelSimulationResults}, selector::InfrastructureSystems.TypeComponentSelector; kwargs::@Kwargs{}) @ PowerAnalytics ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:415 [9] compute @ ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:412 [inlined] [10] (::ComponentTimedMetric)(selector::InfrastructureSystems.TypeComponentSelector, results::PowerSimulations.SimulationProblemResults{PowerSimulations.DecisionModelSimulationResults}) @ PowerAnalytics ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:695 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:669 [inlined] [12] test_metric(::Val{:calc_capacity_factor}) @ Main ~/.julia/packages/PowerAnalytics/jvxjs/test/test_builtin_metrics.jl:55 metric_name = calc_curtailment_frac: Error During Test at /home/pkgeval/.julia/packages/PowerAnalytics/jvxjs/test/test_builtin_metrics.jl:65 Test threw exception Expression: calc_curtailment_frac(make_selector(RenewableDispatch), results_uc) isa ResultType MethodError: no method matching zero(::Type{Vector{Float64}}) Closest candidates are: zero(!Matched::Type{Union{}}, Any...) @ Base number.jl:310 zero(!Matched::Type{MutableArithmetics.Zero}) @ MutableArithmetics ~/.julia/packages/MutableArithmetics/tNSBd/src/rewrite.jl:35 zero(!Matched::Type{Pkg.Resolve.FieldValue}) @ Pkg /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Resolve/fieldvalues.jl:38 ... Stacktrace: [1] zero(x::Vector{Vector{Float64}}) @ Base ./abstractarray.jl:1205 [2] weighted_mean(vals::Vector{Vector{Float64}}, weights::Vector{Vector{Float64}}) @ PowerAnalytics ~/.julia/packages/PowerAnalytics/jvxjs/src/builtin_metrics.jl:25 [3] _compute_one(metric::ComponentTimedMetric, results::PowerSimulations.SimulationProblemResults{PowerSimulations.DecisionModelSimulationResults}, selector::InfrastructureSystems.NameComponentSelector; kwargs::@Kwargs{}) @ PowerAnalytics ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:383 [4] _compute_one @ ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:359 [inlined] [5] #104 @ ./none:0 [inlined] [6] iterate @ ./generator.jl:47 [inlined] [7] collect(itr::Base.Generator{Base.Generator{InfrastructureSystems.FlattenIteratorWrapper{RenewableDispatch, Vector{Base.ValueIterator}}, typeof(make_selector)}, PowerAnalytics.var"#104#105"{@Kwargs{}, ComponentTimedMetric, PowerSimulations.SimulationProblemResults{PowerSimulations.DecisionModelSimulationResults}}}) @ Base ./array.jl:834 [8] compute(metric::ComponentTimedMetric, results::PowerSimulations.SimulationProblemResults{PowerSimulations.DecisionModelSimulationResults}, selector::InfrastructureSystems.TypeComponentSelector; kwargs::@Kwargs{}) @ PowerAnalytics ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:415 [9] compute @ ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:412 [inlined] [10] (::ComponentTimedMetric)(selector::InfrastructureSystems.TypeComponentSelector, results::PowerSimulations.SimulationProblemResults{PowerSimulations.DecisionModelSimulationResults}) @ PowerAnalytics ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:695 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:669 [inlined] [12] test_metric(::Val{:calc_curtailment_frac}) @ Main ~/.julia/packages/PowerAnalytics/jvxjs/test/test_builtin_metrics.jl:65 test_input: test_metrics: Test component_agg_fn and corresponding `compute` aggregation behavior: Error During Test at /home/pkgeval/.julia/packages/PowerAnalytics/jvxjs/test/test_metrics.jl:619 Got exception outside of a @test MethodError: no method matching zero(::Type{Vector{Int64}}) Closest candidates are: zero(!Matched::Type{Union{}}, Any...) @ Base number.jl:310 zero(!Matched::Type{MutableArithmetics.Zero}) @ MutableArithmetics ~/.julia/packages/MutableArithmetics/tNSBd/src/rewrite.jl:35 zero(!Matched::Type{Pkg.Resolve.FieldValue}) @ Pkg /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Resolve/fieldvalues.jl:38 ... Stacktrace: [1] zero(x::Vector{Vector{Int64}}) @ Base ./abstractarray.jl:1205 [2] weighted_mean(vals::Vector{Vector{Int64}}, weights::Vector{Vector{Int64}}) @ PowerAnalytics ~/.julia/packages/PowerAnalytics/jvxjs/src/builtin_metrics.jl:25 [3] _compute_one(metric::ComponentTimedMetric, results::PowerSimulations.SimulationProblemResults{PowerSimulations.DecisionModelSimulationResults}, selector::InfrastructureSystems.NameComponentSelector; kwargs::@Kwargs{}) @ PowerAnalytics ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:383 [4] _compute_one @ ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:359 [inlined] [5] #104 @ ./none:0 [inlined] [6] iterate @ ./generator.jl:47 [inlined] [7] collect(itr::Base.Generator{Vector{InfrastructureSystems.NameComponentSelector}, PowerAnalytics.var"#104#105"{@Kwargs{}, ComponentTimedMetric, PowerSimulations.SimulationProblemResults{PowerSimulations.DecisionModelSimulationResults}}}) @ Base ./array.jl:834 [8] #compute#103 @ ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:415 [inlined] [9] compute @ ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:412 [inlined] [10] #107 @ ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:441 [inlined] [11] (::PowerAnalytics.var"#107#108"{@Kwargs{}, PowerSimulations.SimulationProblemResults{PowerSimulations.DecisionModelSimulationResults}})(::Tuple{ComponentTimedMetric, InfrastructureSystems.NameComponentSelector, String}) @ PowerAnalytics ./none:0 [12] iterate @ ./generator.jl:47 [inlined] [13] collect(itr::Base.Generator{Base.Iterators.Zip{Tuple{Vector{ComponentTimedMetric}, Vector{ComponentSelector}, Vector{String}}}, PowerAnalytics.var"#107#108"{@Kwargs{}, PowerSimulations.SimulationProblemResults{PowerSimulations.DecisionModelSimulationResults}}}) @ Base ./array.jl:834 [14] _common_compute_all(results::PowerSimulations.SimulationProblemResults{PowerSimulations.DecisionModelSimulationResults}, metrics::Vector{ComponentTimedMetric}, selectors::Vector{ComponentSelector}, col_names::Vector{String}; kwargs::@Kwargs{}) @ PowerAnalytics ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:439 [15] _common_compute_all @ ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:425 [inlined] [16] compute_all(results::PowerSimulations.SimulationProblemResults{PowerSimulations.DecisionModelSimulationResults}, metrics::Vector{ComponentTimedMetric}, selectors::Vector{ComponentSelector}, col_names::Vector{String}) @ PowerAnalytics ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:497 [17] macro expansion @ ~/.julia/packages/PowerAnalytics/jvxjs/test/test_metrics.jl:642 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/PowerAnalytics/jvxjs/test/test_metrics.jl:621 [20] include @ ./client.jl:494 [inlined] [21] macro expansion @ ~/.julia/packages/PowerAnalytics/jvxjs/test/runtests.jl:32 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [23] macro expansion @ ~/.julia/packages/PowerAnalytics/jvxjs/test/runtests.jl:61 [inlined] [24] macro expansion @ ./timing.jl:279 [inlined] [25] (::var"#1#4"{ConsoleLogger})(file_logger::InfrastructureSystems.FileLogger) @ Main ~/.julia/packages/PowerAnalytics/jvxjs/test/runtests.jl:60 [26] open_file_logger(func::var"#1#4"{ConsoleLogger}, filename::String, level::Base.CoreLogging.LogLevel, mode::String) @ InfrastructureSystems ~/.julia/packages/InfrastructureSystems/LEg3t/src/utils/logging.jl:346 [27] open_file_logger(func::Function, filename::String, level::Base.CoreLogging.LogLevel) @ InfrastructureSystems ~/.julia/packages/InfrastructureSystems/LEg3t/src/utils/logging.jl:343 [28] run_tests() @ Main ~/.julia/packages/PowerAnalytics/jvxjs/test/runtests.jl:53 [29] top-level scope @ ~/.julia/packages/PowerAnalytics/jvxjs/test/runtests.jl:73 [30] include(fname::String) @ Base.MainInclude ./client.jl:494 [31] top-level scope @ none:6 [32] eval @ ./boot.jl:385 [inlined] [33] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [34] _start() @ Base ./client.jl:557 Test time_agg_fn and corresponding `aggregate_time` aggregation behavior: Error During Test at /home/pkgeval/.julia/packages/PowerAnalytics/jvxjs/test/test_metrics.jl:658 Got exception outside of a @test MethodError: no method matching zero(::Type{Vector{Int64}}) Closest candidates are: zero(!Matched::Type{Union{}}, Any...) @ Base number.jl:310 zero(!Matched::Type{MutableArithmetics.Zero}) @ MutableArithmetics ~/.julia/packages/MutableArithmetics/tNSBd/src/rewrite.jl:35 zero(!Matched::Type{Pkg.Resolve.FieldValue}) @ Pkg /opt/julia/share/julia/stdlib/v1.10/Pkg/src/Resolve/fieldvalues.jl:38 ... Stacktrace: [1] zero(x::Vector{Vector{Int64}}) @ Base ./abstractarray.jl:1205 [2] weighted_mean(vals::Vector{Vector{Int64}}, weights::Vector{Vector{Int64}}) @ PowerAnalytics ~/.julia/packages/PowerAnalytics/jvxjs/src/builtin_metrics.jl:25 [3] _compute_one(metric::ComponentTimedMetric, results::PowerSimulations.SimulationProblemResults{PowerSimulations.DecisionModelSimulationResults}, selector::InfrastructureSystems.NameComponentSelector; kwargs::@Kwargs{}) @ PowerAnalytics ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:383 [4] _compute_one @ ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:359 [inlined] [5] #104 @ ./none:0 [inlined] [6] iterate @ ./generator.jl:47 [inlined] [7] collect(itr::Base.Generator{Vector{InfrastructureSystems.NameComponentSelector}, PowerAnalytics.var"#104#105"{@Kwargs{}, ComponentTimedMetric, PowerSimulations.SimulationProblemResults{PowerSimulations.DecisionModelSimulationResults}}}) @ Base ./array.jl:834 [8] #compute#103 @ ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:415 [inlined] [9] compute @ ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:412 [inlined] [10] #107 @ ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:441 [inlined] [11] (::PowerAnalytics.var"#107#108"{@Kwargs{}, PowerSimulations.SimulationProblemResults{PowerSimulations.DecisionModelSimulationResults}})(::Tuple{ComponentTimedMetric, InfrastructureSystems.NameComponentSelector, String}) @ PowerAnalytics ./none:0 [12] iterate @ ./generator.jl:47 [inlined] [13] collect(itr::Base.Generator{Base.Iterators.Zip{Tuple{Vector{ComponentTimedMetric}, Vector{ComponentSelector}, Vector{String}}}, PowerAnalytics.var"#107#108"{@Kwargs{}, PowerSimulations.SimulationProblemResults{PowerSimulations.DecisionModelSimulationResults}}}) @ Base ./array.jl:834 [14] _common_compute_all(results::PowerSimulations.SimulationProblemResults{PowerSimulations.DecisionModelSimulationResults}, metrics::Vector{ComponentTimedMetric}, selectors::Vector{ComponentSelector}, col_names::Vector{String}; kwargs::@Kwargs{}) @ PowerAnalytics ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:439 [15] _common_compute_all @ ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:425 [inlined] [16] compute_all(results::PowerSimulations.SimulationProblemResults{PowerSimulations.DecisionModelSimulationResults}, metrics::Vector{ComponentTimedMetric}, selectors::Vector{ComponentSelector}, col_names::Vector{String}) @ PowerAnalytics ~/.julia/packages/PowerAnalytics/jvxjs/src/metrics.jl:497 [17] macro expansion @ ~/.julia/packages/PowerAnalytics/jvxjs/test/test_metrics.jl:680 [inlined] [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [19] top-level scope @ ~/.julia/packages/PowerAnalytics/jvxjs/test/test_metrics.jl:659 [20] include @ ./client.jl:494 [inlined] [21] macro expansion @ ~/.julia/packages/PowerAnalytics/jvxjs/test/runtests.jl:32 [inlined] [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined] [23] macro expansion @ ~/.julia/packages/PowerAnalytics/jvxjs/test/runtests.jl:61 [inlined] [24] macro expansion @ ./timing.jl:279 [inlined] [25] (::var"#1#4"{ConsoleLogger})(file_logger::InfrastructureSystems.FileLogger) @ Main ~/.julia/packages/PowerAnalytics/jvxjs/test/runtests.jl:60 [26] open_file_logger(func::var"#1#4"{ConsoleLogger}, filename::String, level::Base.CoreLogging.LogLevel, mode::String) @ InfrastructureSystems ~/.julia/packages/InfrastructureSystems/LEg3t/src/utils/logging.jl:346 [27] open_file_logger(func::Function, filename::String, level::Base.CoreLogging.LogLevel) @ InfrastructureSystems ~/.julia/packages/InfrastructureSystems/LEg3t/src/utils/logging.jl:343 [28] run_tests() @ Main ~/.julia/packages/PowerAnalytics/jvxjs/test/runtests.jl:53 [29] top-level scope @ ~/.julia/packages/PowerAnalytics/jvxjs/test/runtests.jl:73 [30] include(fname::String) @ Base.MainInclude ./client.jl:494 [31] top-level scope @ none:6 [32] eval @ ./boot.jl:385 [inlined] [33] exec_options(opts::Base.JLOptions) @ Base ./client.jl:296 [34] _start() @ Base ./client.jl:557 test_result_sorting: Test Summary: | Pass Error Total Time Begin PowerAnalytics tests | 783 4 787 14m17.2s Test helper functions | 3 3 0.2s Test `all_loads` and `all_storage` | 2 2 1.2s Test `generator_mapping.yaml`-based functionality | 8 8 12.4s Test make_component_metric_from_entry | 3 3 28.6s Test make_system_metric_from_entry | 3 3 6.2s metric_name = calc_active_power | 2 2 1.6s metric_name = calc_active_power_forecast | 2 2 6.6s metric_name = calc_active_power_in | 2 2 5.9s metric_name = calc_active_power_out | 2 2 4.9s metric_name = calc_capacity_factor | 1 1 2 11.8s metric_name = calc_curtailment | 2 2 9.5s metric_name = calc_curtailment_frac | 1 1 2 2.2s metric_name = calc_discharge_cycles | 2 2 0.1s metric_name = calc_integration | 2 2 9.3s metric_name = calc_is_slack_up | 2 2 0.4s metric_name = calc_load_forecast | 2 2 1.0s metric_name = calc_load_from_storage | 2 2 0.0s metric_name = calc_net_load_forecast | 2 2 0.0s metric_name = calc_production_cost | 2 2 3.5s metric_name = calc_shutdown_cost | 2 2 2.9s metric_name = calc_startup_cost | 2 2 0.1s metric_name = calc_stored_energy | 2 2 4.7s metric_name = calc_sum_bytes_alloc | 2 2 1.7s metric_name = calc_sum_objective_value | 2 2 0.1s metric_name = calc_sum_solve_time | 2 2 0.1s metric_name = calc_system_load_forecast | 2 2 0.6s metric_name = calc_system_load_from_storage | 2 2 0.0s metric_name = calc_system_slack_up | 2 2 0.1s metric_name = calc_total_cost | 2 2 0.2s Test create_problem_results_dict | 6 6 16.8s Test read_component_result | 3 3 2.7s Test read_system_result | 2 2 0.1s Test metrics helper functions | 19 19 0.9s Test aggregate_time | 27 27 18.2s Test ComponentTimedMetric on Components | 189 189 3.2s Test ComponentTimedMetric on SingularComponentSelectors | 126 126 2.8s Test ComponentTimedMetric on PluralComponentSelectors | 126 126 11.6s Test SystemTimedMetric | 9 9 0.7s Test ResultsTimelessMetric | 15 15 1.1s Test compute with multiple columns | 111 111 2.8s Test compute_all | 35 35 10.8s Test compose_metrics | 4 4 6.8s Test agg_meta basics | 6 6 0.5s Test component_agg_fn and corresponding `compute` aggregation behavior | 3 1 4 4.1s Test time_agg_fn and corresponding `aggregate_time` aggregation behavior | 4 1 5 2.2s test filter results | 15 15 22.1s test curtailment calculations | 2 2 0.3s test data aggregation | 3 3 7.1s Test system data getters | 13 13 6.2s ┌ Info: 2025-06-06T22:42:49.923 [224:1]: removing test files └ @ Main /home/pkgeval/.julia/packages/PowerAnalytics/jvxjs/test/runtests.jl:76 ERROR: LoadError: Some tests did not pass: 783 passed, 0 failed, 4 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/PowerAnalytics/jvxjs/test/runtests.jl:72 Testing failed after 958.6s ERROR: LoadError: Package PowerAnalytics 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 1545.83s: package tests unexpectedly errored