Skip to content

Console Output

+ export HOME=/var/lib/jenkins1/ws/OMSens_master
+ pytest -v --junit-xml=py3.xml testing
============================= test session starts ==============================
platform linux -- Python 3.6.9, pytest-7.0.1, pluggy-1.0.0 -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /var/lib/jenkins1/ws/OMSens_master
collecting ... collected 35 items

testing/test_build_model.py::TestsBuildModel::test_builder_works_correctly_for_correct_inputs PASSED [  2%]
testing/test_curvi.py::TestIndividualSensitivityAnalysis::test_curvi_bounds_work PASSED [  5%]
testing/test_curvi.py::TestIndividualSensitivityAnalysis::test_curvi_epsilon_works PASSED [  8%]
testing/test_curvi.py::TestIndividualSensitivityAnalysis::test_curvi_finds_minimum_of_cuadratic PASSED [ 11%]
testing/test_curvi.py::TestIndividualSensitivityAnalysis::test_curvi_irrelevant_dimension PASSED [ 14%]
testing/test_curvi.py::TestIndividualSensitivityAnalysis::test_curvi_max_instead_of_min PASSED [ 17%]
testing/test_curvi.py::TestIndividualSensitivityAnalysis::test_curvi_x0_of_size_larger_than_one PASSED [ 20%]
testing/test_dynamic_sens_matrix.py::TestsW3SensToMatrixInputOutput::test_empty_csvstring_raises_exception PASSED [ 22%]
testing/test_dynamic_sens_matrix.py::TestsW3TheoSensToMatrixProccessing::test_2_params_2_vars_one_year_but_repeated_param_and_var PASSED [ 25%]
testing/test_dynamic_sens_matrix.py::TestsW3TheoSensToMatrixProccessing::test_2_params_3_vars_one_year PASSED [ 28%]
testing/test_dynamic_sens_matrix.py::TestsW3TheoSensToMatrixProccessing::test_one_param_2_vars_one_year_1_value PASSED [ 31%]
testing/test_dynamic_sens_matrix.py::TestsW3TheoSensToMatrixProccessing::test_one_param_one_var_5_years PASSED [ 34%]
testing/test_dynamic_sens_matrix.py::TestsW3TheoSensToMatrixProccessing::test_one_param_one_var_one_year PASSED [ 37%]
testing/test_dynamic_sens_matrix.py::TestsW3TheoSensToMatrixProccessing::test_one_param_one_var_one_year_3_values PASSED [ 40%]
testing/test_dynamic_sens_matrix.py::TestsW3TheoSensToMatrixProccessing::test_one_param_one_var_one_year_but_invalid_year PASSED [ 42%]
testing/test_indiv_sens.py::TestIndividualSensitivityAnalysis::test_different_shapes_raises_error PASSED [ 45%]
testing/test_indiv_sens.py::TestIndividualSensitivityAnalysis::test_multiple_tests PASSED [ 48%]
testing/test_indiv_sens.py::TestIndividualSensitivityAnalysis::test_perturbation_and_analysis_integration PASSED [ 51%]
testing/test_indiv_sens.py::TestIndividualSensitivityAnalysis::test_sens_run_gives_correct_results PASSED [ 54%]
testing/test_model_optimizer.py::TestVectorialSensitivityAnalysis::test_epsilon_works PASSED [ 57%]
testing/test_model_optimizer.py::TestVectorialSensitivityAnalysis::test_lower_bounds_work PASSED [ 60%]
testing/test_model_optimizer.py::TestVectorialSensitivityAnalysis::test_multiple_params PASSED [ 62%]
testing/test_model_optimizer.py::TestVectorialSensitivityAnalysis::test_one_param_max PASSED [ 65%]
testing/test_model_optimizer.py::TestVectorialSensitivityAnalysis::test_one_param_min PASSED [ 68%]
testing/test_model_optimizer.py::TestVectorialSensitivityAnalysis::test_upper_bounds_work PASSED [ 71%]
testing/test_multiparam_sweep.py::TestMultiparameterSweep::test_values_subtests PASSED [ 74%]
testing/test_plot_heatmaps.py::TestPlotHeatmap::test_heatmap_has_columns_sorted PASSED [ 77%]
testing/test_plot_heatmaps.py::TestPlotHeatmap::test_heatmap_has_parameters_sorted PASSED [ 80%]
testing/test_plot_heatmaps.py::TestPlotHeatmap::test_heatmap_plot_creates_files_in_folder PASSED [ 82%]
testing/test_plot_sweep.py::TestSweepPlot::test_plot_sweep_creates_files_in_folder PASSED [ 85%]
testing/test_plot_vectorial.py::TestVectorialPlot::test_plot_vectorial_creates_files_in_folder PASSED [ 88%]
testing/test_predefined_json_files.py::TestsPredefinedJSONFiles::test_run_all_indiv_sens_json_files PASSED [ 91%]
testing/test_predefined_json_files.py::TestsPredefinedJSONFiles::test_run_all_sweep_JSON_files PASSED [ 94%]
testing/test_run_omc.py::TestsRunOMC::test_omc_builds_a_model_correctly PASSED [ 97%]
testing/test_run_omc.py::TestsRunOMC::test_omc_loads_a_model_correctly PASSED [100%]

=============================== warnings summary ===============================
modelica_interface/run_omc.py:40
  /var/lib/jenkins1/ws/OMSens_master/modelica_interface/run_omc.py:40: DeprecationWarning: invalid escape sequence \.
    regex = '.*\.(c|o|h|makefile|log|libs|json)$'

.local/lib/python3.6/site-packages/Pillow-9.0.1-py3.6-linux-x86_64.egg/PIL/_imaging.py:3
  /var/lib/jenkins1/ws/OMSens_master/.local/lib/python3.6/site-packages/Pillow-9.0.1-py3.6-linux-x86_64.egg/PIL/_imaging.py:3: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses

misc/csv_output_to_csv_matrix_converter.py:55
  /var/lib/jenkins1/ws/OMSens_master/misc/csv_output_to_csv_matrix_converter.py:55: DeprecationWarning: invalid escape sequence \$
    w3TheoSens_regex = "\$Sensitivities\..*"

analysis/indiv_sens.py:326
  /var/lib/jenkins1/ws/OMSens_master/analysis/indiv_sens.py:326: DeprecationWarning: invalid escape sequence \w
    value = re.sub('[^\w\s-]', '', value).strip().lower()

analysis/indiv_sens.py:327
  /var/lib/jenkins1/ws/OMSens_master/analysis/indiv_sens.py:327: DeprecationWarning: invalid escape sequence \s
    value = re.sub('[-\s]+', '-', value)

testing/test_model_optimizer.py:84
  /var/lib/jenkins1/ws/OMSens_master/testing/test_model_optimizer.py:84: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.slow

testing/test_model_optimizer.py:115
  /var/lib/jenkins1/ws/OMSens_master/testing/test_model_optimizer.py:115: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.slow

testing/test_model_optimizer.py:143
  /var/lib/jenkins1/ws/OMSens_master/testing/test_model_optimizer.py:143: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.slow

testing/test_model_optimizer.py:167
  /var/lib/jenkins1/ws/OMSens_master/testing/test_model_optimizer.py:167: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.slow

testing/test_model_optimizer.py:195
  /var/lib/jenkins1/ws/OMSens_master/testing/test_model_optimizer.py:195: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.slow

testing/test_plot_heatmaps.py:74
  /var/lib/jenkins1/ws/OMSens_master/testing/test_plot_heatmaps.py:74: DeprecationWarning: invalid escape sequence \.
    regex = '.*\.(png|svg)$'

testing/test_plot_heatmaps.py:88
  /var/lib/jenkins1/ws/OMSens_master/testing/test_plot_heatmaps.py:88: DeprecationWarning: invalid escape sequence \ 
    param_3,7,8,9"""

testing/test_plot_sweep.py:38
  /var/lib/jenkins1/ws/OMSens_master/testing/test_plot_sweep.py:38: DeprecationWarning: invalid escape sequence \.
    regex = '.*\.(png|svg)$'

testing/test_plot_vectorial.py:51
  /var/lib/jenkins1/ws/OMSens_master/testing/test_plot_vectorial.py:51: DeprecationWarning: invalid escape sequence \.
    regex = '.*\.(png|svg)$'

testing/test_predefined_json_files.py:28
  /var/lib/jenkins1/ws/OMSens_master/testing/test_predefined_json_files.py:28: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.slow

testing/test_predefined_json_files.py:47
  /var/lib/jenkins1/ws/OMSens_master/testing/test_predefined_json_files.py:47: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.slow

testing/test_run_omc.py:48
  /var/lib/jenkins1/ws/OMSens_master/testing/test_run_omc.py:48: DeprecationWarning: invalid escape sequence \.
    if re.match('.*\.(c|o|h|makefile|log|libs|json)$', x):

testing/test_run_omc.py:35
  /var/lib/jenkins1/ws/OMSens_master/testing/test_run_omc.py:35: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.slow

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
-------- generated xml file: /var/lib/jenkins1/ws/OMSens_master/py3.xml --------
================== 35 passed, 18 warnings in 68.76s (0:01:08) ==================