Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01109/0.01109, allocations: 107 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001134/0.001134, allocations: 186.1 kB / 15.95 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.082/2.082, allocations: 194.5 MB / 211.2 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.314/2.314, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006673/0.0006673, allocations: 16 kB / 0.5871 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7098/0.7105, allocations: 98.71 MB / 0.6835 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2256/0.9361, allocations: 124.3 MB / 0.8048 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.9365, allocations: 75.95 kB / 0.8049 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003262/0.9397, allocations: 0.8149 MB / 0.8057 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9398, allocations: 0 / 0.8057 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.9398, allocations: 4 kB / 0.8057 GB, free: 1.008 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005835/0.9404, allocations: 371.2 kB / 0.806 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.9405, allocations: 8.031 kB / 0.8061 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.942e-05/0.9405, allocations: 38.56 kB / 0.8061 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.9406, allocations: 7.984 kB / 0.8061 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.9407, allocations: 178.8 kB / 0.8063 GB, free: 328 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.9407, allocations: 4 kB / 0.8063 GB, free: 324 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.9408, allocations: 3.984 kB / 0.8063 GB, free: 320 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003941/0.9412, allocations: 81.66 kB / 0.8064 GB, free: 232 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.9412, allocations: 0 / 0.8064 GB, free: 232 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.9412, allocations: 0 / 0.8064 GB, free: 232 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.9412, allocations: 0 / 0.8064 GB, free: 232 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005347/0.9418, allocations: 87.92 kB / 0.8064 GB, free: 144 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007182/0.9425, allocations: 304.8 kB / 0.8067 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.9428, allocations: 74.47 kB / 0.8068 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.9429, allocations: 0 / 0.8068 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.9429, allocations: 34.56 kB / 0.8068 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.9429, allocations: 0 / 0.8068 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0009377/0.9439, allocations: 165.6 kB / 0.807 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.9439, allocations: 55.36 kB / 0.807 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.519e-05/0.944, allocations: 101 kB / 0.8071 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.9441, allocations: 29.64 kB / 0.8072 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/0.9441, allocations: 92.05 kB / 0.8073 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.9442, allocations: 3.906 kB / 0.8073 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.9442, allocations: 0 / 0.8073 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.9443, allocations: 326.8 kB / 0.8076 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.9446, allocations: 35.97 kB / 0.8076 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.9449, allocations: 47.95 kB / 0.8077 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.9452, allocations: 39.97 kB / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.9452, allocations: 0 / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000606/0.9458, allocations: 117.6 kB / 0.8078 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.9458, allocations: 9.562 kB / 0.8078 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.9459, allocations: 0 / 0.8078 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.9459, allocations: 0 / 0.8078 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.9461, allocations: 27.91 kB / 0.8078 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.9461, allocations: 0 / 0.8078 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.9463, allocations: 23.84 kB / 0.8079 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.9463, allocations: 4 kB / 0.8079 GB, free: 14.56 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.9464, allocations: 117.8 kB / 0.808 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.9465, allocations: 0 / 0.808 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006332/0.9471, allocations: 129.5 kB / 0.8081 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.9471, allocations: 0 / 0.8081 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9471, allocations: 0 / 0.8081 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.9472, allocations: 3.984 kB / 0.8081 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.9474, allocations: 169.6 kB / 0.8083 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.9474, allocations: 0 / 0.8083 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.9476, allocations: 28.3 kB / 0.8083 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.9477, allocations: 0 / 0.8083 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.9477, allocations: 4 kB / 0.8083 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.9477, allocations: 0 / 0.8083 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.9477, allocations: 7.922 kB / 0.8083 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006295/0.9483, allocations: 223.3 kB / 0.8085 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.9484, allocations: 81.11 kB / 0.8086 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.9484, allocations: 4 kB / 0.8086 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.9486, allocations: 15.98 kB / 0.8086 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.9487, allocations: 7.984 kB / 0.8086 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.9487, allocations: 0 / 0.8086 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.335e-05/0.9488, allocations: 91.27 kB / 0.8087 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9488, allocations: 0 / 0.8087 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002951/0.9491, allocations: 4 kB / 0.8087 GB, free: 13.59 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009435/0.95, allocations: 0.763 MB / 0.8095 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005797/0.9506, allocations: 91.86 kB / 0.8095 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9507, allocations: 0 / 0.8095 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002824/0.951, allocations: 55.91 kB / 0.8096 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.9512, allocations: 4 kB / 0.8096 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000583/0.9518, allocations: 159 kB / 0.8098 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.9521, allocations: 0.6887 MB / 0.8104 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.597e-05/0.9522, allocations: 0 / 0.8104 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.9522, allocations: 11.44 kB / 0.8104 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/0.9522, allocations: 4 kB / 0.8104 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.9746, allocations: 1.268 MB / 0.8117 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000338/0.9751, allocations: 188.1 kB / 0.8119 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.303/3.278, allocations: 4 kB / 0.8119 GB, free: 10.32 MB / 0.6355 GB