Some checks failed
CI / check (push) Has been cancelled
Capture uncommitted solver robustness work (regularization, domain errors, linear solver lifecycle, tube DP/MSH), web workbench updates, and synced BMAD skills across IDE agent folders before starting BPHX pressure-drop. Co-authored-by: Cursor <cursoragent@cursor.com>
1112 lines
51 KiB
Plaintext
1112 lines
51 KiB
Plaintext
cargo : warning: variable does not need to be mutable
|
|
Au caractère C:\Users\serameza\AppData\Local\Temp\ps-script-1cbe7cd6-1f92-452b-9a85-00d1b0ded631.ps1:96 : 59
|
|
+ ... pyk-main\entropyk"; cargo test --package entropyk-solver 2>&1 | Out-F ...
|
|
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
+ CategoryInfo : NotSpecified: (warning: variab...d to be mutable:String) [], RemoteException
|
|
+ FullyQualifiedErrorId : NativeCommandError
|
|
|
|
--> crates\components\src\screw_economizer_compressor.rs:623:13
|
|
|
|
|
623 | let mut incoming_iter = external_edge_state_indices.iter()
|
|
| ----^^^^^^^^^^^^^
|
|
| |
|
|
| help: remove this `mut`
|
|
|
|
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: struct `MockBrineBackend` is never constructed
|
|
--> crates\components\src\brine_boundary.rs:601:12
|
|
|
|
|
601 | struct MockBrineBackend;
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: associated function `new` is never used
|
|
--> crates\components\src\brine_boundary.rs:604:12
|
|
|
|
|
603 | impl MockBrineBackend {
|
|
| --------------------- associated function in this implementation
|
|
604 | fn new() -> Self {
|
|
| ^^^
|
|
|
|
warning: function `make_port` is never used
|
|
--> crates\components\src\brine_boundary.rs:676:8
|
|
|
|
|
676 | fn make_port(fluid: &str, p_pa: f64, h_jkg: f64) -> ConnectedPort {
|
|
| ^^^^^^^^^
|
|
|
|
warning: constant `K_AIR` is never used
|
|
--> crates\components\src\heat_exchanger\fin_coil_condenser.rs:92:7
|
|
|
|
|
92 | const K_AIR: f64 = 0.0270;
|
|
| ^^^^^
|
|
|
|
warning: constant `RHO_AIR_STD` is never used
|
|
--> crates\components\src\heat_exchanger\fin_coil_condenser.rs:96:7
|
|
|
|
|
96 | const RHO_AIR_STD: f64 = 1.145;
|
|
| ^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a method
|
|
--> crates\components\src\heat_exchanger\condenser.rs:218:5
|
|
|
|
|
218 | pub fn hot_inlet_state(&self) -> Result<entropyk_fluids::ThermoState, ComponentError> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> crates\components\src\lib.rs:55:9
|
|
|
|
|
55 | #![warn(missing_docs)]
|
|
| ^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a method
|
|
--> crates\components\src\heat_exchanger\evaporator.rs:244:5
|
|
|
|
|
244 | pub fn hot_inlet_state(&self) -> Result<entropyk_fluids::ThermoState, ComponentError> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a method
|
|
--> crates\components\src\isentropic_compressor.rs:135:5
|
|
|
|
|
135 | pub fn isentropic_efficiency(&self) -> f64 {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a method
|
|
--> crates\components\src\isentropic_compressor.rs:139:5
|
|
|
|
|
139 | pub fn t_cond_k(&self) -> f64 {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a method
|
|
--> crates\components\src\isentropic_compressor.rs:143:5
|
|
|
|
|
143 | pub fn t_evap_k(&self) -> f64 {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a method
|
|
--> crates\components\src\isentropic_compressor.rs:147:5
|
|
|
|
|
147 | pub fn superheat_k(&self) -> f64 {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\registry.rs:18:24
|
|
|
|
|
18 | MissingParameter { component: String, parameter: String },
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\registry.rs:18:43
|
|
|
|
|
18 | MissingParameter { component: String, parameter: String },
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\registry.rs:20:24
|
|
|
|
|
20 | InvalidParameter { component: String, parameter: String, reason: String },
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\registry.rs:20:43
|
|
|
|
|
20 | InvalidParameter { component: String, parameter: String, reason: String },
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\registry.rs:20:62
|
|
|
|
|
20 | InvalidParameter { component: String, parameter: String, reason: String },
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1002:5
|
|
|
|
|
1002 | pub fluid: FluidId,
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1003:5
|
|
|
|
|
1003 | pub p_set_pa: f64,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1004:5
|
|
|
|
|
1004 | pub quality: f64,
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1005:5
|
|
|
|
|
1005 | pub edge_indices: Vec<(usize, usize)>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1097:5
|
|
|
|
|
1097 | pub fluid: FluidId,
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1098:5
|
|
|
|
|
1098 | pub p_back_pa: f64,
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1099:5
|
|
|
|
|
1099 | pub quality_opt: Option<f64>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1100:5
|
|
|
|
|
1100 | pub edge_indices: Vec<(usize, usize)>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1188:5
|
|
|
|
|
1188 | pub fluid: FluidId,
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1189:5
|
|
|
|
|
1189 | pub concentration: f64,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1190:5
|
|
|
|
|
1190 | pub temperature_k: f64,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1191:5
|
|
|
|
|
1191 | pub pressure_pa: f64,
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1192:5
|
|
|
|
|
1192 | pub edge_indices: Vec<(usize, usize)>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1292:5
|
|
|
|
|
1292 | pub p_back_pa: f64,
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1293:5
|
|
|
|
|
1293 | pub edge_indices: Vec<(usize, usize)>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1366:5
|
|
|
|
|
1366 | pub temperature_k: f64,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1367:5
|
|
|
|
|
1367 | pub relative_humidity: f64,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1368:5
|
|
|
|
|
1368 | pub pressure_pa: f64,
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1369:5
|
|
|
|
|
1369 | pub edge_indices: Vec<(usize, usize)>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1456:5
|
|
|
|
|
1456 | pub p_back_pa: f64,
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: missing documentation for a struct field
|
|
--> crates\components\src\python_components.rs:1457:5
|
|
|
|
|
1457 | pub edge_indices: Vec<(usize, usize)>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: `entropyk-components` (lib) generated 38 warnings (run `cargo fix --lib -p entropyk-components` to apply 1
|
|
suggestion)
|
|
warning: value assigned to `eq_offset` is never read
|
|
--> crates\solver\src\system.rs:1900:9
|
|
|
|
|
1900 | eq_offset += n_couplings;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: maybe it is overwritten before being read?
|
|
= note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: field `n_ports` is never read
|
|
--> crates\solver\src\snapshot_params.rs:25:5
|
|
|
|
|
22 | pub struct ParamsPlaceholder {
|
|
| ----------------- field in this struct
|
|
...
|
|
25 | n_ports: usize,
|
|
| ^^^^^^^
|
|
|
|
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: variable does not need to be mutable
|
|
--> crates\solver\src\inverse\calibration.rs:1005:13
|
|
|
|
|
1005 | let mut sys = System::new();
|
|
| ----^^^
|
|
| |
|
|
| help: remove this `mut`
|
|
|
|
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: variable does not need to be mutable
|
|
--> crates\solver\src\inverse\calibration.rs:1021:13
|
|
|
|
|
1021 | let mut sys = System::new();
|
|
| ----^^^
|
|
| |
|
|
| help: remove this `mut`
|
|
|
|
warning: `entropyk-solver` (lib) generated 2 warnings
|
|
warning: `entropyk-solver` (lib test) generated 4 warnings (2 duplicates) (run `cargo fix --lib -p entropyk-solver
|
|
--tests` to apply 2 suggestions)
|
|
warning: unused import: `ConvergenceStatus`
|
|
--> crates\solver\tests\fallback_solver.rs:15:5
|
|
|
|
|
15 | ConvergenceStatus, FallbackConfig, FallbackSolver, NewtonConfig, PicardConfig, Solver,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\fallback_solver.rs:19:60
|
|
|
|
|
19 | use entropyk_solver::system::{DEFAULT_MASS_FLOW_SEED_KG_S, TEMP_MASS_FLOW_SEED_KG_S};
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(deprecated)]` on by default
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\fallback_solver.rs:375:57
|
|
|
|
|
375 | PicardConfig::default().with_initial_state(vec![TEMP_MASS_FLOW_SEED_KG_S, 1.0, 1.0]);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\fallback_solver.rs:682:34
|
|
|
|
|
682 | .with_initial_state(vec![TEMP_MASS_FLOW_SEED_KG_S, 0.0, 0.0]);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: struct `SlowConvergingSystem` is never constructed
|
|
--> crates\solver\tests\fallback_solver.rs:150:8
|
|
|
|
|
150 | struct SlowConvergingSystem {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: associated function `new` is never used
|
|
--> crates\solver\tests\fallback_solver.rs:158:8
|
|
|
|
|
157 | impl SlowConvergingSystem {
|
|
| ------------------------- associated function in this implementation
|
|
158 | fn new(rate: f64, target: f64) -> Self {
|
|
| ^^^
|
|
|
|
warning: type alias `CP` is never used
|
|
--> crates\solver\tests\real_cycle_inverse_integration.rs:11:6
|
|
|
|
|
11 | type CP = Port<Connected>;
|
|
| ^^
|
|
|
|
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: field `circuit_id` is never read
|
|
--> crates\solver\tests\real_cycle_inverse_integration.rs:37:5
|
|
|
|
|
35 | struct Mock {
|
|
| ---- field in this struct
|
|
36 | n: usize,
|
|
37 | circuit_id: CircuitId,
|
|
| ^^^^^^^^^^
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\traceability.rs:5:39
|
|
|
|
|
5 | use entropyk_solver::system::{System, TEMP_MASS_FLOW_SEED_KG_S};
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(deprecated)]` on by default
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\traceability.rs:88:28
|
|
|
|
|
88 | initial_state[m] = TEMP_MASS_FLOW_SEED_KG_S;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: variable does not need to be mutable
|
|
--> crates\solver\tests\chiller_air_glycol_integration.rs:273:9
|
|
|
|
|
273 | let mut coil_35 = MchxCondenserCoil::for_35c_ambient(15_000.0, 0);
|
|
| ----^^^^^^^
|
|
| |
|
|
| help: remove this `mut`
|
|
|
|
|
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: type alias `CP` is never used
|
|
--> crates\solver\tests\chiller_air_glycol_integration.rs:47:6
|
|
|
|
|
47 | type CP = Port<Connected>;
|
|
| ^^
|
|
|
|
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: field `circuit_id` is never read
|
|
--> crates\solver\tests\chiller_air_glycol_integration.rs:90:5
|
|
|
|
|
88 | struct Mock {
|
|
| ---- field in this struct
|
|
89 | n: usize,
|
|
90 | circuit_id: CircuitId,
|
|
| ^^^^^^^^^^
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\homotopy_continuation.rs:27:22
|
|
|
|
|
27 | system::{System, TEMP_MASS_FLOW_SEED_KG_S},
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(deprecated)]` on by default
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\homotopy_continuation.rs:197:13
|
|
|
|
|
197 | let m = TEMP_MASS_FLOW_SEED_KG_S;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: unused import: `std::collections::HashMap`
|
|
--> crates\solver\tests\inverse_calibration_algorithm.rs:11:5
|
|
|
|
|
11 | use std::collections::HashMap;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: unused import: `Solver`
|
|
--> crates\solver\tests\inverse_calibration_algorithm.rs:21:19
|
|
|
|
|
21 | NewtonConfig, Solver, System,
|
|
| ^^^^^^
|
|
|
|
warning: field `base_capacity` is never read
|
|
--> crates\solver\tests\inverse_calibration_algorithm.rs:28:5
|
|
|
|
|
26 | struct MockCalibratedHx {
|
|
| ---------------- field in this struct
|
|
27 | calib_indices: CalibIndices,
|
|
28 | base_capacity: f64,
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: unused variable: `internal_state_len_each`
|
|
--> crates\solver\tests\macro_component_integration.rs:398:9
|
|
|
|
|
398 | let internal_state_len_each = chiller_a.internal_state_len(); // = 12
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore:
|
|
`_internal_state_len_each`
|
|
|
|
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\timeout_budgeted_solving.rs:17:39
|
|
|
|
|
17 | use entropyk_solver::system::{System, TEMP_MASS_FLOW_SEED_KG_S};
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(deprecated)]` on by default
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\timeout_budgeted_solving.rs:166:31
|
|
|
|
|
166 | let previous_state = vec![TEMP_MASS_FLOW_SEED_KG_S, 1.0, 2.0];
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\timeout_budgeted_solving.rs:215:31
|
|
|
|
|
215 | let previous_state = vec![TEMP_MASS_FLOW_SEED_KG_S, 5.0, 10.0];
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\timeout_budgeted_solving.rs:240:31
|
|
|
|
|
240 | let previous_state = vec![TEMP_MASS_FLOW_SEED_KG_S, 1.0, 2.0];
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\timeout_budgeted_solving.rs:306:34
|
|
|
|
|
306 | initial_state: Some(vec![TEMP_MASS_FLOW_SEED_KG_S, 1.0, 1.0]),
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\timeout_budgeted_solving.rs:420:34
|
|
|
|
|
420 | initial_state: Some(vec![TEMP_MASS_FLOW_SEED_KG_S, 1.0, 1.0]),
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\refrigeration_cycle_integration.rs:13:22
|
|
|
|
|
13 | system::{System, TEMP_MASS_FLOW_SEED_KG_S},
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(deprecated)]` on by default
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\refrigeration_cycle_integration.rs:170:13
|
|
|
|
|
170 | let m = TEMP_MASS_FLOW_SEED_KG_S;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\jacobian_freezing.rs:15:13
|
|
|
|
|
15 | system::TEMP_MASS_FLOW_SEED_KG_S,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(deprecated)]` on by default
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\jacobian_freezing.rs:374:13
|
|
|
|
|
374 | TEMP_MASS_FLOW_SEED_KG_S,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: `entropyk-solver` (test "fallback_solver") generated 6 warnings (run `cargo fix --test "fallback_solver" -p
|
|
entropyk-solver` to apply 1 suggestion)
|
|
warning: `entropyk-solver` (test "real_cycle_inverse_integration") generated 2 warnings
|
|
warning: `entropyk-solver` (test "traceability") generated 2 warnings
|
|
warning: `entropyk-solver` (test "chiller_air_glycol_integration") generated 3 warnings (run `cargo fix --test
|
|
"chiller_air_glycol_integration" -p entropyk-solver` to apply 1 suggestion)
|
|
warning: `entropyk-solver` (test "homotopy_continuation") generated 2 warnings
|
|
warning: `entropyk-solver` (test "inverse_calibration_algorithm") generated 3 warnings (run `cargo fix --test
|
|
"inverse_calibration_algorithm" -p entropyk-solver` to apply 2 suggestions)
|
|
warning: `entropyk-solver` (test "macro_component_integration") generated 1 warning (run `cargo fix --test
|
|
"macro_component_integration" -p entropyk-solver` to apply 1 suggestion)
|
|
warning: `entropyk-solver` (test "timeout_budgeted_solving") generated 6 warnings
|
|
warning: `entropyk-solver` (test "refrigeration_cycle_integration") generated 2 warnings
|
|
warning: `entropyk-solver` (test "jacobian_freezing") generated 2 warnings
|
|
warning: unused import: `FallbackConfig`
|
|
--> crates\solver\tests\convergence_criteria.rs:11:5
|
|
|
|
|
11 | FallbackConfig, FallbackSolver, NewtonConfig, PicardConfig, Solver, System,
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\calibrated_cycle_integration.rs:23:13
|
|
|
|
|
23 | system::TEMP_MASS_FLOW_SEED_KG_S,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(deprecated)]` on by default
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\calibrated_cycle_integration.rs:175:32
|
|
|
|
|
175 | initial_state[m_idx] = TEMP_MASS_FLOW_SEED_KG_S;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: unused import: `Pressure`
|
|
--> crates\solver\tests\smart_initializer.rs:13:31
|
|
|
|
|
13 | use entropyk_core::{Enthalpy, Pressure, Temperature};
|
|
| ^^^^^^^^
|
|
|
|
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\smart_initializer.rs:16:13
|
|
|
|
|
16 | system::TEMP_MASS_FLOW_SEED_KG_S,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(deprecated)]` on by default
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\smart_initializer.rs:100:34
|
|
|
|
|
100 | .with_initial_state(vec![TEMP_MASS_FLOW_SEED_KG_S, targets[0], targets[1]]);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\smart_initializer.rs:120:34
|
|
|
|
|
120 | .with_initial_state(vec![TEMP_MASS_FLOW_SEED_KG_S, targets[0], targets[1]]);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\smart_initializer.rs:159:34
|
|
|
|
|
159 | .with_initial_state(vec![TEMP_MASS_FLOW_SEED_KG_S, targets[0], targets[1]]);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\smart_initializer.rs:190:49
|
|
|
|
|
190 | let smart_state: Vec<f64> = std::iter::once(TEMP_MASS_FLOW_SEED_KG_S)
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\smart_initializer.rs:269:35
|
|
|
|
|
269 | assert_relative_eq!(state[0], TEMP_MASS_FLOW_SEED_KG_S, max_relative = 1e-9);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: use of deprecated constant `entropyk_solver::system::TEMP_MASS_FLOW_SEED_KG_S`: Use
|
|
DEFAULT_MASS_FLOW_SEED_KG_S instead
|
|
--> crates\solver\tests\smart_initializer.rs:272:35
|
|
|
|
|
272 | assert_relative_eq!(state[3], TEMP_MASS_FLOW_SEED_KG_S, max_relative = 1e-9);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: `entropyk-solver` (test "convergence_criteria") generated 1 warning (run `cargo fix --test
|
|
"convergence_criteria" -p entropyk-solver` to apply 1 suggestion)
|
|
warning: `entropyk-solver` (test "calibrated_cycle_integration") generated 2 warnings
|
|
warning: `entropyk-solver` (test "smart_initializer") generated 8 warnings (run `cargo fix --test "smart_initializer"
|
|
-p entropyk-solver` to apply 1 suggestion)
|
|
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
|
|
Running unittests src\lib.rs (target\debug\deps\entropyk_solver-db085922d4b7b835.exe)
|
|
|
|
running 256 tests
|
|
test coupling::tests::test_compute_coupling_heat_positive ... ok
|
|
test coupling::tests::test_compute_coupling_heat_with_efficiency ... ok
|
|
test coupling::tests::test_compute_coupling_heat_zero ... ok
|
|
test coupling::tests::test_circular_dependency_detection ... ok
|
|
test coupling::tests::test_coupling_groups_empty ... ok
|
|
test coupling::tests::test_efficiency_clamped ... ok
|
|
test coupling::tests::test_coupling_groups_with_cycle ... ok
|
|
test coupling::tests::test_coupling_groups_no_cycle ... ok
|
|
test coupling::tests::test_circular_dependency_complex ... ok
|
|
test coupling::tests::test_empty_couplings_no_cycle ... ok
|
|
test coupling::tests::test_energy_conservation ... ok
|
|
test coupling::tests::test_no_circular_dependency ... ok
|
|
test coupling::tests::test_single_coupling_no_cycle ... ok
|
|
test coupling::tests::test_thermal_coupling_with_efficiency ... ok
|
|
test coupling::tests::test_thermal_coupling_creation ... ok
|
|
test criteria::tests::test_circuit_convergence_converged_field ... ok
|
|
test coupling::tests::test_compute_coupling_heat_negative ... ok
|
|
test criteria::tests::test_multi_circuit_all_converged ... ok
|
|
test criteria::tests::test_convergence_report_is_globally_converged_one_fails ... ok
|
|
test criteria::tests::test_custom_thresholds ... ok
|
|
test criteria::tests::test_default_thresholds ... ok
|
|
test criteria::tests::test_convergence_report_empty_circuits_not_globally_converged ... ok
|
|
test criteria::tests::test_convergence_report_is_globally_converged_all_true ... ok
|
|
test criteria::tests::test_multi_circuit_global_needs_all ... ok
|
|
test criteria::tests::test_report_per_circuit_count ... ok
|
|
test initializer::tests::test_antoine_r134a_at_0c ... ok
|
|
test initializer::tests::test_antoine_r744_at_20c ... ok
|
|
test initializer::tests::test_fluid_lookup_case_insensitive ... ok
|
|
test initializer::tests::test_fluid_lookup_unknown ... ok
|
|
test initializer::tests::test_p_cond_approach_default ... ok
|
|
test initializer::tests::test_p_evap_below_critical_all_fluids ... ok
|
|
test initializer::tests::test_p_evap_clamped_above_critical ... ok
|
|
test initializer::tests::test_p_evap_uses_approach_delta ... ok
|
|
test initializer::tests::test_populate_state_2_edges ... ok
|
|
test initializer::tests::test_populate_state_length_mismatch ... ok
|
|
test initializer::tests::test_populate_state_multi_circuit ... ok
|
|
test inverse::bounded::tests::test_apply_step ... ok
|
|
test initializer::tests::test_unknown_fluid_fallback ... ok
|
|
test inverse::bounded::tests::test_bounded_variable_id_creation ... ok
|
|
test inverse::bounded::tests::test_bounded_variable_id_from_impls ... ok
|
|
test inverse::bounded::tests::test_bounded_variable_with_component ... ok
|
|
test inverse::bounded::tests::test_clip_step_exceeds_max ... ok
|
|
test inverse::bounded::tests::test_clip_step_exceeds_min ... ok
|
|
test inverse::bounded::tests::test_clip_step_infinity ... ok
|
|
test inverse::bounded::tests::test_bounded_variable_creation ... ok
|
|
test inverse::bounded::tests::test_clip_step_nan_handling ... ok
|
|
test inverse::bounded::tests::test_clip_step_standalone ... ok
|
|
test inverse::bounded::tests::test_clip_step_within_bounds ... ok
|
|
test inverse::bounded::tests::test_distance_to_bound ... ok
|
|
test inverse::bounded::tests::test_error_display ... ok
|
|
test inverse::bounded::tests::test_invalid_bounds_min_eq_max ... ok
|
|
test inverse::bounded::tests::test_invalid_bounds_min_gt_max ... ok
|
|
test inverse::bounded::tests::test_is_within_bounds ... ok
|
|
test inverse::bounded::tests::test_no_saturation_in_middle ... ok
|
|
test inverse::bounded::tests::test_saturation_at_max ... ok
|
|
test inverse::bounded::tests::test_saturation_at_min ... ok
|
|
test inverse::bounded::tests::test_saturation_info_with_constraint_target ... ok
|
|
test inverse::bounded::tests::test_saturation_type_display ... ok
|
|
test inverse::bounded::tests::test_set_value_invalid ... ok
|
|
test inverse::bounded::tests::test_set_value_valid ... ok
|
|
test inverse::bounded::tests::test_value_out_of_bounds_above ... ok
|
|
test inverse::calibration::tests::test_calib_factor_default_bounds ... ok
|
|
test inverse::calibration::tests::test_calib_factor_display ... ok
|
|
test inverse::bounded::tests::test_value_out_of_bounds_below ... ok
|
|
test inverse::calibration::tests::test_calib_factor_order ... ok
|
|
test inverse::calibration::tests::test_calib_factor_serialize_roundtrip ... ok
|
|
test inverse::calibration::tests::test_calib_request_default_bounds ... ok
|
|
test inverse::calibration::tests::test_calib_request_key ... ok
|
|
test inverse::calibration::tests::test_calibration_error_component_not_found ... ok
|
|
test inverse::calibration::tests::test_calibration_error_dof_mismatch ... ok
|
|
test inverse::calibration::tests::test_calibration_mode_default ... ok
|
|
test inverse::calibration::tests::test_calibration_problem_builder ... ok
|
|
test inverse::calibration::tests::test_calibration_result_mape ... ok
|
|
test inverse::calibration::tests::test_calibration_result_json_roundtrip ... ok
|
|
test inverse::calibration::tests::test_calibration_result_mape_empty ... ok
|
|
test inverse::calibration::tests::test_calibration_target_constructors ... ok
|
|
test inverse::calibration::tests::test_calibration_target_to_constraint ... ok
|
|
test inverse::constraint::tests::test_component_output_component_id ... ok
|
|
test inverse::constraint::tests::test_constraint_compute_residual ... ok
|
|
test inverse::constraint::tests::test_constraint_creation ... ok
|
|
test inverse::constraint::tests::test_constraint_error_display ... ok
|
|
test inverse::constraint::tests::test_constraint_id_creation ... ok
|
|
test inverse::constraint::tests::test_constraint_id_from_str ... ok
|
|
test inverse::constraint::tests::test_constraint_id_from_string ... ok
|
|
test inverse::constraint::tests::test_constraint_invalid_tolerance ... ok
|
|
test inverse::constraint::tests::test_constraint_is_satisfied ... ok
|
|
test inverse::constraint::tests::test_constraint_with_tolerance ... ok
|
|
test inverse::embedding::tests::test_control_mapping_creation ... ok
|
|
test inverse::embedding::tests::test_control_mapping_disabled ... ok
|
|
test inverse::embedding::tests::test_control_mapping_enable_disable ... ok
|
|
test inverse::embedding::tests::test_dof_error_already_linked ... ok
|
|
test inverse::embedding::tests::test_dof_error_constraint_not_found ... ok
|
|
test inverse::embedding::tests::test_dof_error_display ... ok
|
|
test inverse::embedding::tests::test_inverse_control_config_clear ... ok
|
|
test inverse::embedding::tests::test_inverse_control_config_disabled ... ok
|
|
test inverse::embedding::tests::test_inverse_control_config_enable_disable ... ok
|
|
test inverse::embedding::tests::test_inverse_control_config_is_linked ... ok
|
|
test inverse::embedding::tests::test_inverse_control_config_link ... ok
|
|
test inverse::embedding::tests::test_inverse_control_config_link_already_linked_constraint ... ok
|
|
test inverse::embedding::tests::test_inverse_control_config_link_already_linked_control ... ok
|
|
test inverse::embedding::tests::test_inverse_control_config_mappings_iterator ... ok
|
|
test inverse::embedding::tests::test_inverse_control_config_new ... ok
|
|
test inverse::embedding::tests::test_inverse_control_config_unlink_constraint ... ok
|
|
test inverse::embedding::tests::test_inverse_control_config_unlink_control ... ok
|
|
test jacobian::tests::test_from_builder_accumulates ... ok
|
|
test jacobian::tests::test_from_builder_out_of_bounds_ignored ... ok
|
|
test jacobian::tests::test_condition_number ... ok
|
|
test jacobian::tests::test_from_builder_simple ... ok
|
|
test jacobian::tests::test_norm ... ok
|
|
test jacobian::tests::test_numerical_jacobian_linear ... ok
|
|
test jacobian::tests::test_numerical_jacobian_quadratic ... ok
|
|
test jacobian::tests::test_numerical_vs_analytical_agree ... ok
|
|
test jacobian::tests::test_ruiz_equilibration_unit_norms ... ok
|
|
test jacobian::tests::test_set_and_get ... ok
|
|
test jacobian::tests::test_ruiz_reduces_condition_number ... ok
|
|
test jacobian::tests::test_solve_diagonal ... ok
|
|
test jacobian::tests::test_solve_full_matrix ... ok
|
|
test jacobian::tests::test_solve_identity ... ok
|
|
test jacobian::tests::test_solve_illconditioned_matches_known_solution ... ok
|
|
test jacobian::tests::test_solve_singular_returns_none ... ok
|
|
test jacobian::tests::test_solve_with_nan_entry_returns_none ... ok
|
|
test jacobian::tests::test_solve_wrong_residual_length ... ok
|
|
test jacobian::tests::test_solve_zero_matrix_returns_none ... ok
|
|
test jacobian::tests::test_zeros ... ok
|
|
test macro_component::tests::test_compute_residuals_delegation ... ok
|
|
test macro_component::tests::test_compute_residuals_state_too_short ... ok
|
|
test macro_component::tests::test_compute_residuals_with_offset ... ok
|
|
test macro_component::tests::test_coupling_residuals_and_jacobian ... ok
|
|
test macro_component::tests::test_expose_multiple_ports ... ok
|
|
test macro_component::tests::test_expose_port_adds_coupling_equations ... ok
|
|
test macro_component::tests::test_jacobian_entries_delegation ... ok
|
|
test macro_component::tests::test_expose_port_out_of_range - should panic ... ok
|
|
test macro_component::tests::test_jacobian_entries_with_offset ... ok
|
|
test macro_component::tests::test_macro_component_as_trait_object ... ok
|
|
test macro_component::tests::test_macro_component_creation ... ok
|
|
test macro_component::tests::test_macro_component_in_parent_system ... ok
|
|
test macro_component::tests::test_n_equations_empty_system ... ok
|
|
test macro_component::tests::test_snapshot_round_trip ... ok
|
|
test snapshot::tests::test_backward_compat_missing_fields ... ok
|
|
test snapshot::tests::test_camel_case_output ... ok
|
|
test snapshot::tests::test_solver_config_default ... ok
|
|
test snapshot::tests::test_system_snapshot_serialization ... ok
|
|
test solver::tests::test_apply_newton_step_invalid_bounds_do_not_panic ... ok
|
|
test solver::tests::test_bounded_variable_clipped_at_max ... ok
|
|
test solver::tests::test_bounded_variable_clipped_at_min ... ok
|
|
test solver::tests::test_box_dyn_solver_can_call_solve ... ok
|
|
test solver::tests::test_box_dyn_solver_compiles ... ok
|
|
test solver::tests::test_converged_state_fields_accessible ... ok
|
|
test solver::tests::test_converged_state_timed_out_not_converged ... ok
|
|
test solver::tests::test_diagnostics_dominant_residual_serializes_to_json ... ok
|
|
test solver::tests::test_dominant_residual_empty_vector ... ok
|
|
test solver::tests::test_dominant_residual_picks_largest_magnitude ... ok
|
|
test solver::tests::test_dominant_residual_surfaces_nan ... ok
|
|
test solver::tests::test_edge_states_not_clipped ... ok
|
|
test solver::tests::test_error_non_convergence_display ... ok
|
|
test solver::tests::test_final_dominant_residual_reports_last_iteration ... ok
|
|
test solver::tests::test_solver_error_exposes_failure_diagnostics ... ok
|
|
test solver::tests::test_solver_trait_object_safety ... ok
|
|
test strategies::fallback::tests::test_fallback_config_defaults ... ok
|
|
test strategies::fallback::tests::test_fallback_homotopy_disabled_by_default ... ok
|
|
test strategies::fallback::tests::test_fallback_solver_new ... ok
|
|
test strategies::fallback::tests::test_fallback_solver_trait_object ... ok
|
|
test strategies::fallback::tests::test_fallback_solver_with_timeout ... ok
|
|
test strategies::fallback::tests::test_fallback_with_homotopy_sets_config ... ok
|
|
test strategies::fallback::tests::test_invalid_system_not_retried_by_homotopy ... ok
|
|
test strategies::fallback::tests::test_with_initial_state_propagates_to_homotopy ... ok
|
|
test strategies::fallback::tests::test_with_timeout_propagates_to_homotopy ... ok
|
|
test strategies::homotopy::tests::test_homotopy_builders ... ok
|
|
test strategies::homotopy::tests::test_homotopy_default_config ... ok
|
|
test strategies::homotopy::tests::test_homotopy_empty_system_errors ... ok
|
|
test strategies::homotopy::tests::test_homotopy_initial_steps_floor_is_one ... ok
|
|
test strategies::homotopy::tests::test_homotopy_residual_norm ... ok
|
|
test strategies::homotopy::tests::test_homotopy_with_timeout_sets_field ... ok
|
|
test strategies::newton_raphson::tests::test_newton_config_default ... ok
|
|
test strategies::newton_raphson::tests::test_newton_config_with_timeout ... ok
|
|
test strategies::newton_raphson::tests::test_newton_solver_trait_object ... ok
|
|
test strategies::sequential_substitution::tests::test_picard_apply_relaxation_formula ... ok
|
|
test strategies::sequential_substitution::tests::test_picard_config_default_sensible ... ok
|
|
test strategies::sequential_substitution::tests::test_picard_residual_norm ... ok
|
|
test strategies::sequential_substitution::tests::test_picard_solver_trait_object ... ok
|
|
test strategies::tests::test_solver_strategy_default_is_newton_raphson ... ok
|
|
test strategies::tests::test_solver_strategy_newton_dispatch_reaches_stub ... ok
|
|
test strategies::tests::test_solver_strategy_newton_raphson_variant ... ok
|
|
test strategies::tests::test_solver_strategy_newton_with_timeout ... ok
|
|
test strategies::tests::test_solver_strategy_picard_dispatch_reaches_implementation ... ok
|
|
test strategies::tests::test_solver_strategy_picard_with_timeout ... ok
|
|
test system::tests::test_add_bounded_variable ... ok
|
|
test strategies::sequential_substitution::tests::test_picard_config_with_timeout ... ok
|
|
test system::tests::test_add_bounded_variable_duplicate_id ... ok
|
|
test system::tests::test_add_bounded_variable_invalid_component ... ok
|
|
test strategies::tests::test_solver_strategy_sequential_substitution_variant ... ok
|
|
test system::tests::test_add_bounded_variable_with_valid_component ... ok
|
|
test system::tests::test_add_constraint ... ok
|
|
test system::tests::test_add_constraint_unregistered_component ... ok
|
|
test system::tests::test_add_duplicate_constraint ... ok
|
|
test system::tests::test_add_thermal_coupling_hot_circuit_invalid ... ok
|
|
test system::tests::test_add_thermal_coupling_invalid_circuit ... ok
|
|
test system::tests::test_add_thermal_coupling_valid ... ok
|
|
test system::tests::test_bounded_variables_iterator ... ok
|
|
test system::tests::test_circuit_count_and_accessors ... ok
|
|
test system::tests::test_compute_residuals_bounds_check ... ok
|
|
test system::tests::test_control_variable_indices ... ok
|
|
test system::tests::test_control_variable_state_index ... ok
|
|
test system::tests::test_cross_circuit_add_edge_with_ports_rejected ... ok
|
|
test system::tests::test_cross_circuit_edge_rejected ... ok
|
|
test system::tests::test_cycle_detected ... ok
|
|
test system::tests::test_dangling_node_error ... ok
|
|
test system::tests::test_edge_kind_defaults_to_refrigerant ... ok
|
|
test system::tests::test_edge_indices_contiguous ... ok
|
|
test system::tests::test_edge_state_mapping_distinct_in_range_ordered ... ok
|
|
test system::tests::test_empty_graph_finalize_ok ... ok
|
|
test system::tests::test_energy_balance_includes_component_type_in_warning ... ok
|
|
test system::tests::test_energy_balance_summary_warning ... ok
|
|
test system::tests::test_enthalpy_mismatch_rejected ... ok
|
|
test system::tests::test_energy_balance_warns_for_skipped_components ... ok
|
|
test system::tests::test_generate_canonical_bytes ... ok
|
|
test system::tests::test_get_bounded_variable ... ok
|
|
test system::tests::test_full_state_vector_len ... ok
|
|
test system::tests::test_get_bounded_variable_mut ... ok
|
|
test system::tests::test_get_constraint ... ok
|
|
test system::tests::test_incompatible_fluid_rejected ... ok
|
|
test system::tests::test_invalid_port_index_rejected ... ok
|
|
test system::tests::test_input_hash_deterministic ... ok
|
|
test system::tests::test_link_constraint_not_found ... ok
|
|
test system::tests::test_link_constraint_to_control ... ok
|
|
test system::tests::test_link_control_not_found ... ok
|
|
test system::tests::test_link_duplicate_constraint ... ok
|
|
test system::tests::test_link_duplicate_control ... ok
|
|
test system::tests::test_mass_balance_passes_for_balanced_component ... ok
|
|
test system::tests::test_mass_balance_tolerance_constant ... ok
|
|
test system::tests::test_mass_balance_violation ... ok
|
|
test system::tests::test_mass_flow_closure_count_is_zero ... ok
|
|
test system::tests::test_max_five_circuits ... ok
|
|
test system::tests::test_multiple_thermal_couplings ... ok
|
|
test system::tests::test_multiple_constraints ... ok
|
|
test system::tests::test_pressure_mismatch_rejected ... ok
|
|
test system::tests::test_pressure_tolerance_boundary ... ok
|
|
test system::tests::test_register_component_name ... ok
|
|
test system::tests::test_remove_bounded_variable ... ok
|
|
test system::tests::test_remove_constraint ... ok
|
|
test system::tests::test_saturated_variables ... ok
|
|
test system::tests::test_simple_cycle_builds ... ok
|
|
test system::tests::test_simple_cycle_port_validation ... ok
|
|
test system::tests::test_single_circuit_backward_compat ... ok
|
|
test system::tests::test_state_layout_integration ... ok
|
|
test system::tests::test_state_vector_len_is_3_times_edge_count ... ok
|
|
test system::tests::test_state_vector_length ... ok
|
|
test system::tests::test_thermal_coupling_same_circuit ... ok
|
|
test system::tests::test_two_circuit_machine ... ok
|
|
test system::tests::test_unlink_constraint ... ok
|
|
test system::tests::test_valid_connection_same_fluid ... ok
|
|
test system::tests::test_validate_inverse_control_dof_balanced ... ok
|
|
test system::tests::test_validate_inverse_control_dof_over_constrained ... ok
|
|
test system::tests::test_validate_inverse_control_dof_under_constrained ... ok
|
|
test system::tests::test_zero_flow_branch_residuals_and_jacobian_finite ... ok
|
|
test system::tests::test_traverse_components ... ok
|
|
|
|
test result: ok. 256 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
|
|
|
|
Running tests\calibrated_cycle_integration.rs
|
|
(target\debug\deps\calibrated_cycle_integration-e0af786de82960a4.exe)
|
|
|
|
running 5 tests
|
|
test test_calibrated_cycle_nominal_baseline ... ok
|
|
test test_calibrated_cycle_fm_fpower_scales_compressor_work ... ok
|
|
test test_calibrated_cycle_fdp_scales_pressure_drop ... ok
|
|
test test_calibrated_cycle_fua_increases_capacity ... ok
|
|
test test_calibrated_cycle_with_calibration_source_metadata ... ok
|
|
|
|
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
|
|
|
|
Running tests\chiller_air_glycol_integration.rs
|
|
(target\debug\deps\chiller_air_glycol_integration-1f2b6b67195dcfe2.exe)
|
|
|
|
running 10 tests
|
|
test test_cross_circuit_connection_rejected ... ok
|
|
test test_fan_anti_override_speed_reduction ... ok
|
|
test test_four_coil_bank_total_ua ... ok
|
|
test test_mchx_ua_ambient_temperature_effect ... ok
|
|
test test_mchx_ua_correction_with_fan_speed ... ok
|
|
test test_screw_vfd_scaling ... ok
|
|
test test_two_circuit_chiller_topology ... ok
|
|
test test_screw_compressor_off_state_zero_flow ... ok
|
|
test test_screw_compressor_creation_and_residuals ... ok
|
|
test test_screw_energy_balance ... ok
|
|
|
|
test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
|
|
|
|
Running tests\convergence_criteria.rs (target\debug\deps\convergence_criteria-0faa5ad3c2f9ea41.exe)
|
|
|
|
running 16 tests
|
|
test test_converged_state_new_no_report ... ok
|
|
test test_converged_state_with_report_attaches_report ... ok
|
|
test test_criteria_default_energy_tolerance ... ok
|
|
test test_criteria_default_mass_tolerance ... ok
|
|
test test_criteria_default_pressure_tolerance ... ok
|
|
test test_fallback_with_convergence_criteria_delegates ... ok
|
|
test test_picard_without_criteria_is_none ... ok
|
|
test test_backward_compat_tolerance_field_survives ... ok
|
|
test test_newton_with_criteria_empty_system_no_panic ... ok
|
|
test test_newton_without_criteria_is_none ... ok
|
|
test test_picard_with_convergence_criteria_builder ... ok
|
|
test test_newton_with_criteria_single_circuit ... ok
|
|
test test_single_circuit_global_convergence ... ok
|
|
test test_global_convergence_requires_all_circuits ... ok
|
|
test test_picard_with_criteria_empty_system_no_panic ... ok
|
|
test test_newton_with_convergence_criteria_builder ... ok
|
|
|
|
test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
|
|
|
|
Running tests\failure_diagnostics.rs (target\debug\deps\failure_diagnostics-bd85ea5f6142780d.exe)
|
|
|
|
running 3 tests
|
|
test test_picard_failure_carries_dominant_residual_diagnostics ... ok
|
|
test test_failure_without_verbose_carries_no_diagnostics ... ok
|
|
test test_newton_failure_carries_dominant_residual_diagnostics ... ok
|
|
|
|
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
|
|
|
|
Running tests\fallback_solver.rs (target\debug\deps\fallback_solver-4f1eb782e09bc7a5.exe)
|
|
|
|
running 18 tests
|
|
test test_fallback_config_customization ... ok
|
|
test test_fallback_solver_custom_newton_config ... ok
|
|
test test_fallback_solver_timeout ... ok
|
|
test test_fallback_solver_custom_picard_config ... ok
|
|
test test_fallback_already_converged ... ok
|
|
test test_fallback_disabled_pure_newton ... ok
|
|
test test_fallback_both_solvers_can_converge ... ok
|
|
test test_fallback_zero_switches ... ok
|
|
test test_fallback_solver_integration ... ok
|
|
test test_fallback_solver_converges_linear_system ... ok
|
|
test test_fallback_stiff_nonlinear ... ok
|
|
test test_max_fallback_switches_config ... ok
|
|
test test_fallback_solver_as_trait_object ... ok
|
|
test test_newton_redivergence_commits_to_picard ... ok
|
|
test test_oscillation_prevention_newton_to_picard_stays ... ok
|
|
test test_fallback_solver_empty_system ... ok
|
|
test test_timeout_across_switches ... ok
|
|
test test_return_to_newton_threshold ... ok
|
|
|
|
test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
|
|
|
|
Running tests\homotopy_continuation.rs (target\debug\deps\homotopy_continuation-1bf806212bfced82.exe)
|
|
|
|
running 2 tests
|
|
test test_homotopy_solves_refrigeration_loop ... ok
|
|
test test_homotopy_rejects_mismatched_initial_state_length ... ok
|
|
|
|
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
|
|
|
|
Running tests\inverse_calibration.rs (target\debug\deps\inverse_calibration-54b88b9e09db25db.exe)
|
|
|
|
running 2 tests
|
|
test test_inverse_expansion_valve_calibration ... ok
|
|
test test_inverse_calibration_f_ua ... ok
|
|
|
|
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
|
|
|
|
Running tests\inverse_calibration_algorithm.rs
|
|
(target\debug\deps\inverse_calibration_algorithm-c926c13018a07baf.exe)
|
|
|
|
running 8 tests
|
|
test test_bounds_validation_on_request ... ok
|
|
test test_calibration_result_json_roundtrip ... ok
|
|
test test_calibration_target_factory_methods ... ok
|
|
test test_calib_factor_ordering ... ok
|
|
test test_problem_dof_validation ... ok
|
|
test test_problem_missing_component ... ok
|
|
test test_sequential_mode_is_default ... ok
|
|
test test_single_factor_calibration_f_ua ... ok
|
|
|
|
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
|
|
|
|
Running tests\inverse_control.rs (target\debug\deps\inverse_control-cb6fce84ce934aaa.exe)
|
|
|
|
running 16 tests
|
|
test test_2x2_jacobian_block_is_fully_dense ... ok
|
|
test test_bounded_variables_respect_bounds_during_step ... ok
|
|
test test_constraint_residuals_computed_for_two_constraints ... ok
|
|
test test_3x3_jacobian_block_is_fully_dense ... ok
|
|
test test_dof_validation_with_two_constraints_and_two_controls ... ok
|
|
test test_duplicate_constraint_rejected ... ok
|
|
test test_multi_variable_control_with_real_components ... ignored, Requires real thermodynamic components - implement when component models are ready
|
|
test test_full_residual_vector_includes_constraint_rows ... ok
|
|
test test_full_state_vector_includes_control_variables ... ok
|
|
test test_inverse_control_jacobian_contains_cross_derivatives ... ok
|
|
test test_over_constrained_system_detected ... ok
|
|
test test_two_constraints_added_simultaneously ... ok
|
|
test test_jacobian_forms_dense_block_for_mimo ... ok
|
|
test test_mimo_cross_derivatives_have_consistent_signs ... ok
|
|
test test_three_constraints_and_three_controls ... ok
|
|
test test_mimo_jacobian_structure_and_bounds ... ok
|
|
|
|
test result: ok. 15 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s
|
|
|
|
Running tests\jacobian_freezing.rs (target\debug\deps\jacobian_freezing-d4f0ac42faacd6fd.exe)
|
|
|
|
running 12 tests
|
|
test test_jacobian_freezing_already_converged_at_initial_state ... ok
|
|
test test_freeze_threshold_1_never_freezes ... ok
|
|
test test_jacobian_freezing_config_defaults ... ok
|
|
test test_jacobian_freezing_config_custom ... ok
|
|
test test_jacobian_freezing_empty_system ... ok
|
|
test test_frozen_jacobian_same_solution_as_standard_newton ... ok
|
|
test test_frozen_jacobian_converges_linear_system ... ok
|
|
test test_no_jacobian_freezing_by_default ... ok
|
|
test test_with_jacobian_freezing_builder ... ok
|
|
test test_max_frozen_iters_zero_never_freezes ... ok
|
|
test test_auto_recompute_on_divergence_trend ... ok
|
|
test test_frozen_jacobian_converges_cubic_system ... ok
|
|
|
|
test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
|
|
|
|
Running tests\macro_component_integration.rs (target\debug\deps\macro_component_integration-74c46c35e23078be.exe)
|
|
|
|
running 10 tests
|
|
test test_4_component_cycle_in_parent_system ... ok
|
|
test test_4_component_cycle_expose_two_ports ... FAILED
|
|
test test_coupling_residuals_are_zero_at_consistent_state ... FAILED
|
|
test test_4_component_cycle_macro_creation ... FAILED
|
|
test test_coupling_residuals_nonzero_at_inconsistent_state ... FAILED
|
|
test test_snapshot_fails_on_short_state ... ok
|
|
test test_macro_component_snapshot_serialization ... ok
|
|
test test_two_macro_chillers_in_parallel_topology ... FAILED
|
|
test test_two_macro_chillers_residuals_are_computable ... ok
|
|
test test_jacobian_coupling_entries_correct ... FAILED
|
|
|
|
failures:
|
|
|
|
---- test_4_component_cycle_expose_two_ports stdout ----
|
|
|
|
thread 'test_4_component_cycle_expose_two_ports' (42656) panicked at crates\solver\tests\macro_component_integration.rs:121:5:
|
|
assertion `left == right` failed: should have 16 equations with 2 exposed ports
|
|
left: 12
|
|
right: 16
|
|
|
|
---- test_coupling_residuals_are_zero_at_consistent_state stdout ----
|
|
|
|
thread 'test_coupling_residuals_are_zero_at_consistent_state' (30472) panicked at crates\solver\tests\macro_component_integration.rs:194:18:
|
|
index out of bounds: the len is 10 but the index is 12
|
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
|
|
|
---- test_4_component_cycle_macro_creation stdout ----
|
|
|
|
thread 'test_4_component_cycle_macro_creation' (10892) panicked at crates\solver\tests\macro_component_integration.rs:101:5:
|
|
assertion `left == right` failed: should have 12 internal equations (8 component + 4 mass-flow closures) with no exposed ports
|
|
left: 8
|
|
right: 12
|
|
|
|
---- test_coupling_residuals_nonzero_at_inconsistent_state stdout ----
|
|
|
|
thread 'test_coupling_residuals_nonzero_at_inconsistent_state' (37712) panicked at crates\solver\tests\macro_component_integration.rs:226:19:
|
|
index out of bounds: the len is 10 but the index is 12
|
|
|
|
---- test_two_macro_chillers_in_parallel_topology stdout ----
|
|
|
|
thread 'test_two_macro_chillers_in_parallel_topology' (36588) panicked at crates\solver\tests\macro_component_integration.rs:373:5:
|
|
assertion `left == right` failed: total equation count mismatch: 26
|
|
left: 26
|
|
right: 34
|
|
|
|
---- test_jacobian_coupling_entries_correct stdout ----
|
|
|
|
thread 'test_jacobian_coupling_entries_correct' (12788) panicked at crates\solver\tests\macro_component_integration.rs:260:5:
|
|
assertion `left == right` failed: Ôêér_P/Ôêép_ext should be +1
|
|
left: None
|
|
right: Some(1.0)
|
|
|
|
|
|
failures:
|
|
test_4_component_cycle_expose_two_ports
|
|
test_4_component_cycle_macro_creation
|
|
test_coupling_residuals_are_zero_at_consistent_state
|
|
test_coupling_residuals_nonzero_at_inconsistent_state
|
|
test_jacobian_coupling_entries_correct
|
|
test_two_macro_chillers_in_parallel_topology
|
|
|
|
test result: FAILED. 4 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
|
|
|
|
error: test failed, to rerun pass `-p entropyk-solver --test macro_component_integration`
|