Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I encountered some problems while testing PowerModels #860

Closed
lzq-zbc opened this issue May 15, 2023 · 3 comments
Closed

I encountered some problems while testing PowerModels #860

lzq-zbc opened this issue May 15, 2023 · 3 comments

Comments

@lzq-zbc
Copy link

lzq-zbc commented May 15, 2023

Test Summary:                                      | Pass  Fail  Total     Time
PowerModels                                        | 4493     1   4494  6m06.7s
  test matpower parser                             |   24           24    43.3s
  test matpower data coercion                      |    6            6     9.1s
  test matpower extentions parser                  |   61           61     0.1s
  test idempotent matpower export                  |   16           16     3.4s
  test matpower export to file                     |    1            1     0.6s
  test pti to matpower                             |    3            3     0.4s
  test matpower export robustness                  |    1            1     1.4s
  test .raw file parser                            |  446          446     0.9s
  test idempotent pti export                       |    8            8     5.4s
  test HVDC Power Flow                             |    1            1     0.4s
  test export all to pti                           |    2            2     1.0s
  test PSS(R)E parser                              |  430          430     5.0s
  export data to other file types                  |   20           20     1.8s
  test output api                                  |   20           20     4.6s
  test branch flow output                          |   47           47     0.3s
  test dual value output                           |  232          232    15.4s
  test solution builder inconsistent status        |    2            2     0.0s
  test solution processors                         |   25           25     2.1s
  test solution feedback                           |   36           36     0.2s
  data modification tests                          |   10           10     0.8s
  test data summary                                |   17           17     1.0s
  test data component table                        |   14           14     0.2s
  test idempotent units transformations            |    9            9     0.1s
  test component status updates                    |  111          111     1.0s
  bus type corrections                             |    1            1     0.0s
  test errors and warnings                         |   21           21     1.1s
  test user ext init                               |    4            4     0.1s
  test impedance to admittance                     |    4            4     0.0s
  test buspair computations                        |    2            2     0.4s
  test branch flow computations                    |   60           60     0.8s
  test cost model computations                     |   10           10     1.4s
  test power balance computations                  |   60           60     2.4s
  test renumber bus ids                            |    2            2     0.9s
  test resolve switches                            |    3            3     0.2s
  test basic network transformation                |   18           18     0.8s
  test basic network functions                     |  171          171    18.7s
  JuMP model building                              |    7            7     0.2s
  exports for usablity                             |    8            8     0.1s
  relax integrality                                |    5            5     4.3s
  admittance matrix computation                    |   10           10     0.2s
  susceptance matrix computation                   |    8            8     0.1s
  injection factor computation                     |   98           98     0.3s
  test nfa opb                                     |   22           22     2.0s
  test dcp opb                                     |    8            8     0.3s
  test soc wr opb                                  |    8            8     0.5s
  test ac polar pf                                 |   37           37     0.0s
  test ac rect pf                                  |    2            2     0.2s
  test ac tan pf                                   |   13           13     0.3s
  test iv pf                                       |   21           21     2.3s
  test dc pf                                       |   17           17     0.0s
  test matpower dc pf                              |    5            5     0.9s
  test soc pf                                      |    6            6     0.3s
  test soc distflow pf_bf                          |   20           20     1.7s
  test linear distflow pf_bf                       |   21           21     1.4s
  test sdp pf                                      |   18           18     3.6s
  test native dc pf solver                         |   44           44     0.0s
  test native ac pf solver                         |  226          226     0.1s
  test native ac pf solver, in-place               |  217          217     0.0s
  test warm-start ac pf solvers                    |  196          196     0.0s
  test native ac pf solver options                 |   65           65     0.3s
  test ac polar opf                                |   29           29     0.3s
  test ac rect opf                                 |   15           15     0.2s
  test ac tan opf                                  |   17           17     0.4s
  test iv opf                                      |   17           17     1.4s
  test dc opf                                      |   21           21     0.1s
  test matpower dc opf                             |    5            5     0.4s
  test nfa opf                                     |   15           15     1.0s
  test dc+ll opf                                   |   17           17     1.5s
  test lpac-c opf                                  |   23           23     0.5s
  test soc (BIM) opf                               |   21           21     0.3s
  test soc conic form opf                          |   13           13     4.7s
  test soc distflow opf_bf                         |   18           18     0.7s
  test soc conic distflow opf_bf                   |    9            9     3.0s
  test linear distflow opf_bf                      |   17           17     0.6s
  test qc opf                                      |   17           17     0.6s
  test qc opf with trilinear convexhull relaxation |   13           13     3.1s
  test sdp opf                                     |   11           11     8.4s
  test sdp opf with constraint decomposition       |   10           10    16.6s
  test current limit opf                           |   28           28     0.7s
  test mld                                         |  140          140    11.4s
  test unit commitment opf                         |   28           28    13.6s
  test opf with switches                           |   22           22     0.5s
  test oswpf                                       |   31           31     4.7s
  test oswpf node-breaker                          |   12           12    28.6s
  test storage opf                                 |   55           55     2.6s
  test ac v+t polar opf                            |   14           14     0.4s
  test opf with optimization of oltc and pst       |   20           20     0.8s
  linear objective                                 |    5            5     0.2s
  quadratic objective                              |    3     1      4     6.7s
    nlp solver                                     |    2            2     0.0s
    conic solver                                   |    1     1      2     6.7s
  nlp objective                                    |    4            4     0.1s
  dcline objectives                                |   10           10     0.1s
  test ptdf-based dc opf                           |   36           36     1.3s
  test ac ots                                      |   29           29     0.7s
  test dc ots                                      |   50           50     0.7s
  test dc+ll ots                                   |   39           39     1.9s
  test soc ots                                     |   50           50    31.2s
  test qc ots                                      |   60           60    10.3s
  test lpac ots                                    |   60           60    12.2s
  test ac tnep                                     |   10           10     1.9s
  test soc tnep                                    |   10           10     0.8s
  test qc tnep                                     |   10           10     1.9s
  test dc tnep                                     |   10           10     0.9s
  test matpower dc tnep                            |    3            3     0.9s
  test dc-losses tnep                              |    5            5     0.8s
  test lpac tnep                                   |   10           10     2.2s
  test tnep branch flow output                     |   21           21     0.4s
  test multinetwork                                |  307          307    19.5s
  obbt with trilinear convex hull relaxation       |    6            6     2.4s
  obbt with qc relaxation                          |    9            9     2.5s
  opf with flow cuts                               |   94           94     0.5s
  ptdf opf with flow cuts                          |   24           24     0.1s
  dc warm starts                                   |              None     0.1s
  ac warm starts                                   |              None     0.2s
  code snippets from docs                          |   10           10     0.0s
ERROR: LoadError: Some tests did not pass: 4493 passed, 1 failed, 0 errored, 0 broken.
in expression starting at C:\Users\Administrator\.julia\packages\PowerModels\j6UCJ\test\runtests.jl:31
ERROR: Package PowerModels errored during testing
@ccoffrin
Copy link
Member

I would not worry too much about this. Small numerical errors like these occur from time to time as the underlying numerical methods improve. Given that 99.98% of the tests pass you can assume PowerModels is working correctly.

@ccoffrin
Copy link
Member

CI is now passing.

@yasirroni
Copy link

CI is now passing.

But, what is the fix? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants