diff --git a/.CI/Jenkinsfile b/.CI/Jenkinsfile index 150c0a9..22addb3 100644 --- a/.CI/Jenkinsfile +++ b/.CI/Jenkinsfile @@ -3,12 +3,10 @@ pipeline { parameters { booleanParam(name: 'OLDLIBS', defaultValue: false, description: 'Also test some outdated libraries') - booleanParam(name: 'v1_26', defaultValue: false, description: 'maintenance/v1.26 branch (ryzen-5950x-1)') booleanParam(name: 'v1_27', defaultValue: false, description: 'maintenance/v1.27 branch (ryzen-5950x-1)') booleanParam(name: 'v1_28', defaultValue: false, description: 'maintenance/v1.28 branch (ryzen-5950x-1)') booleanParam(name: 'master', defaultValue: false, description: 'master branch, simulated with the solver each model asks for, filling master (ryzen-9950x).') - booleanParam(name: 'fmi_v1_26', defaultValue: false, description: 'maintenance/v1.26 branch with FMI (ryzen-5950x-2). Every FMU is built once and simulated four ways: Model Exchange with OMSimulator filling v1.26-fmi and with FMPy filling v1.26-fmi-fmpy, Co-Simulation with OMSimulator and CVODE filling v1.26-fmi-cs-cvode and with Euler filling v1.26-fmi-cs-euler.') booleanParam(name: 'fmi_v1_27', defaultValue: false, description: 'maintenance/v1.27 branch with FMI (ryzen-5950x-2). Every FMU is built once and simulated four ways: Model Exchange with OMSimulator filling v1.27-fmi and with FMPy filling v1.27-fmi-fmpy, Co-Simulation with OMSimulator and CVODE filling v1.27-fmi-cs-cvode and with Euler filling v1.27-fmi-cs-euler.') booleanParam(name: 'fmi_v1_28', defaultValue: false, description: 'maintenance/v1.28 branch with FMI (ryzen-5950x-2). Every FMU is built once and simulated four ways: Model Exchange with OMSimulator filling v1.28-fmi and with FMPy filling v1.28-fmi-fmpy, Co-Simulation with OMSimulator and CVODE filling v1.28-fmi-cs-cvode and with Euler filling v1.28-fmi-cs-euler.') booleanParam(name: 'fmi_master', defaultValue: false, description: 'master branch with FMI (ryzen-5950x-2). Every FMU is built once, serving FMI 2.0 and 3.0, and simulated five ways: FMI 2.0 Model Exchange with OMSimulator filling master-fmi and with FMPy filling master-fmi-fmpy, FMI 2.0 Co-Simulation with OMSimulator and CVODE filling master-fmi-cs-cvode and with Euler filling master-fmi-cs-euler, and FMI 3.0 Co-Simulation with FMPy and CVODE filling master-fmi3-cs-cvode.') @@ -17,7 +15,6 @@ pipeline { booleanParam(name: 'newInst_newBackend', defaultValue: false, description: 'master branch, --newBackend (ryzen-5950x-1)') booleanParam(name: 'newBackend_daeMode', defaultValue: false, description: 'master branch, --newBackend --daeMode (ryzen-5950x-2). This is an experimental job that does not run on a fixed schedule.') - booleanParam(name: 'cpp_v1_26', defaultValue: false, description: 'maintenance/v1.26 branch, with --simCodeTarget=Cpp (ryzen-5950x-2).') booleanParam(name: 'cpp_v1_27', defaultValue: false, description: 'maintenance/v1.27 branch, with --simCodeTarget=Cpp (ryzen-5950x-2).') booleanParam(name: 'cpp_v1_28', defaultValue: false, description: 'maintenance/v1.28 branch, with --simCodeTarget=Cpp (ryzen-5950x-2).') booleanParam(name: 'cpp', defaultValue: false, description: 'master branch, with --simCodeTarget=Cpp (ryzen-5950x-2).') @@ -58,23 +55,6 @@ pipeline { stages { stage('test') { parallel { - stage('v1.26') { - agent { - node { - label 'ryzen-5950x-1' - customWorkspace 'ws/OpenModelicaLibraryTestingWork' - } - } - options { skipDefaultCheckout() } - when { - beforeAgent true - expression { params.v1_26 } - } - steps { - runRegressiontest('maintenance/v1.26', 'v1.26', '', '', false, '', '', false, false) - } - } - stage('v1.27') { agent { node { @@ -230,22 +210,6 @@ pipeline { } } - stage('v1.26 FMI') { - agent { - node { - label 'ryzen-5950x-2-1' - customWorkspace 'ws/OpenModelicaLibraryTestingWork' - } - } - options { skipDefaultCheckout() } - when { - beforeAgent true - expression { params.fmi_v1_26 } - } - steps { - runRegressiontest('maintenance/v1.26', 'v1.26-fmi', '', omsimulatorHash(), false, '', '', false, false, 0, 'configs/conf.json', '', '.CI/testing', fmiSimulators()) - } - } stage('v1.27 FMI') { agent { node { @@ -482,22 +446,6 @@ pipeline { } } - stage('C++ v1.26') { - agent { - node { - label 'ryzen-5950x-2-1' - customWorkspace 'ws/OpenModelicaLibraryTestingWork' - } - } - options { skipDefaultCheckout() } - when { - beforeAgent true - expression { params.cpp_v1_26 } - } - steps { - runRegressiontest('maintenance/v1.26', 'v1.26-cpp', 'setCommandLineOptions("--simCodeTarget=Cpp")', '', false, '', '', false, false) - } - } stage('C++ v1.27') { agent { node { @@ -560,7 +508,7 @@ pipeline { } when { beforeAgent true - expression { params.v1_25 || params.v1_26 || params.v1_27 || params.v1_28 || params.master || params.conversion_script || params.report_ryzen_5950x_1 || params.report_ryzen_5950x_2 || params.newInst_newBackend || params.generateSymbolicJacobian || params.dataReconciliation || params.dataReconciliation_newBackend || params.heavy_tests || params.heavy_tests_wasm || params.fmi_v1_25 || params.fmi_v1_26 || params.fmi_v1_27 || params.fmi_v1_28 || params.fmi_master || params.newInst_daeMode || params.newBackend_daeMode || params.cpp || params.solvers || params.wasm_jit || params.wasm_fmu || params.wasm_web || params.c_plus_rust} + expression { params.v1_27 || params.v1_28 || params.master || params.conversion_script || params.report_ryzen_5950x_1 || params.report_ryzen_5950x_2 || params.newInst_newBackend || params.generateSymbolicJacobian || params.dataReconciliation || params.dataReconciliation_newBackend || params.heavy_tests || params.heavy_tests_wasm || params.fmi_v1_25 || params.fmi_v1_26 || params.fmi_v1_27 || params.fmi_v1_28 || params.fmi_master || params.newInst_daeMode || params.newBackend_daeMode || params.cpp || params.solvers || params.wasm_jit || params.wasm_fmu || params.wasm_web || params.c_plus_rust} } environment { GITBRANCHES = 'maintenance/v1.20 maintenance/v1.21 maintenance/v1.22 maintenance/v1.23 maintenance/v1.24 maintenance/v1.25 maintenance/v1.26 maintenance/v1.27 maintenance/v1.28 master newInst-newBackend' @@ -916,11 +864,11 @@ def testsRustOMC(branch) { * Whether omc is built with cmake for `branch`, rather than with Autoconf and Makefiles. * * OpenModelica has dropped the Autoconf+Make build (OpenModelica/OpenModelica#14387): master, - * the pull requests into it and v1.28 are built with cmake. v1.26 and v1.27 are still released - * from the Autoconf build and keep it until they are dropped. + * the pull requests into it and v1.28 are built with cmake. v1.27 is still released + * from the Autoconf build and keeps it until it is dropped. */ def buildsWithCMake(branch) { - return !['maintenance/v1.26', 'maintenance/v1.27'].contains(branch) + return branch != 'maintenance/v1.27' } /** diff --git a/.CI/testing/Dockerfile b/.CI/testing/Dockerfile index ee21200..eaf60fe 100644 --- a/.CI/testing/Dockerfile +++ b/.CI/testing/Dockerfile @@ -16,12 +16,12 @@ FROM docker.openmodelica.org/build-deps:ubuntu-26.04-rust # libnetcdf-dev is used by NcDataReader2 (AixLib, BuildingSystems): the library ships # libncDataReader2.a, whose netCDF calls are only resolvable with the -dev package. # Python 3.8 and 3.12 are used by Buildings -# autoconf/automake/libtool and omniORB build v1.26 and v1.27, which still go through +# autoconf/automake/libtool and omniORB build v1.27, which still goes through # `autoreconf && ./configure --with-omniORB`: master and v1.28 build with cmake. The base image # carries what the cmake build needs, which is not quite the same set. # Boost is one of the differences: master dropped it (OpenModelica#17057) and so did the base -# image's `apt-get build-dep openmodelica` (OpenModelicaBuildScripts#80), but v1.26 and v1.27 -# still include it in ParModelica/auto (chrono, graph) and link it in the C++ runtime +# image's `apt-get build-dep openmodelica` (OpenModelicaBuildScripts#80), but v1.27 +# still includes it in ParModelica/auto (chrono, graph) and links it in the C++ runtime # (filesystem, system, serialization, program_options, log, thread). RUN export DEBIAN_FRONTEND=noninteractive \ && apt-get update \ diff --git a/README.md b/README.md index 19d2477..b6903e4 100644 --- a/README.md +++ b/README.md @@ -359,7 +359,7 @@ knows `version="2.0+3.0"`, which is v1.28 and later. OMSimulator cannot run these FMUs as FMI 3.0 yet ([OMSimulator#1694](https://github.com/OpenModelica/OMSimulator/issues/1694)). -In Jenkins, `fmi_v1_26`, `fmi_v1_27`, `fmi_v1_28` and `fmi_master` each run +In Jenkins, `fmi_v1_27`, `fmi_v1_28` and `fmi_master` each run this job for their branch, with all four FMI 2.0 simulators; `fmi_master` also runs `fmpy-fmi3-cs-cvode`.