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.Integers.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.Integers.Validation.Max,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_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.01171/0.01172, allocations: 109.6 kB / 15.06 MB, free: 5.555 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.001187/0.001187, allocations: 182.1 kB / 15.95 MB, free: 5.52 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.001/2.001, allocations: 194.6 MB / 211.3 MB, free: 10.78 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.481/2.481, allocations: 236.1 MB / 492.6 MB, free: 11.2 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004818, allocations: 16 kB / 0.587 GB, free: 1.984 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6931/0.6937, allocations: 98.71 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002142/0.6959, allocations: 1.17 MB / 0.6846 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0005431/0.6965, allocations: 174 kB / 0.6848 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.6965, allocations: 1.312 kB / 0.6848 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.285e-05/0.6966, allocations: 5.812 kB / 0.6848 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.6967, allocations: 6.812 kB / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.6969, allocations: 31.25 kB / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.697, allocations: 49.34 kB / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.6972, allocations: 22.33 kB / 0.6849 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 9.528e-05/0.6973, allocations: 26.03 kB / 0.6849 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.6974, allocations: 46.2 kB / 0.6849 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.6974, allocations: 4.531 kB / 0.6849 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.149e-05/0.6975, allocations: 2.812 kB / 0.6849 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.141e-05/0.6975, allocations: 15.5 kB / 0.685 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.6976, allocations: 36.92 kB / 0.685 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.6977, allocations: 58.17 kB / 0.685 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6977, allocations: 5.156 kB / 0.685 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6977, allocations: 0 / 0.685 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.6977, allocations: 0 / 0.685 GB, free: 15.65 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008114/0.6986, allocations: 386.8 kB / 0.6854 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.6986, allocations: 12.84 kB / 0.6854 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.843e-05/0.6987, allocations: 37.47 kB / 0.6855 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.6987, allocations: 20.88 kB / 0.6855 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.6989, allocations: 169.1 kB / 0.6856 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.6989, allocations: 7.812 kB / 0.6857 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.699, allocations: 4.219 kB / 0.6857 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/0.6995, allocations: 117.3 kB / 0.6858 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.6995, allocations: 0 / 0.6858 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.6995, allocations: 1.312 kB / 0.6858 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.6996, allocations: 1.281 kB / 0.6858 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006993/0.7003, allocations: 125.9 kB / 0.6859 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007486/0.701, allocations: 348.8 kB / 0.6862 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.7021, allocations: 127 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.7022, allocations: 1.062 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.7023, allocations: 40.11 kB / 0.6864 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.514e-06/0.7023, allocations: 0 / 0.6864 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.001183/0.7035, allocations: 216.8 kB / 0.6866 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.7035, allocations: 53.33 kB / 0.6866 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.7036, allocations: 127 kB / 0.6868 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.7037, allocations: 27.11 kB / 0.6868 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.7037, allocations: 96.67 kB / 0.6869 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.7038, allocations: 19.36 kB / 0.6869 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/0.7038, allocations: 1.188 kB / 0.6869 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.7039, allocations: 318.6 kB / 0.6872 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.7042, allocations: 57.83 kB / 0.6873 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.7046, allocations: 58.88 kB / 0.6873 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.7049, allocations: 56.73 kB / 0.6874 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7049, allocations: 0 / 0.6874 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007554/0.7057, allocations: 165.1 kB / 0.6875 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.7057, allocations: 9.391 kB / 0.6875 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7057, allocations: 1.406 kB / 0.6875 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.7058, allocations: 0 / 0.6875 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.7061, allocations: 33.67 kB / 0.6876 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.7061, allocations: 0 / 0.6876 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.7064, allocations: 22.08 kB / 0.6876 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.7064, allocations: 2.797 kB / 0.6876 GB, free: 13.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001066/0.7065, allocations: 113.6 kB / 0.6877 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.7066, allocations: 7.719 kB / 0.6877 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008309/0.7074, allocations: 181.1 kB / 0.6879 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.7074, allocations: 1.062 kB / 0.6879 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7075, allocations: 0 / 0.6879 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.7075, allocations: 1.031 kB / 0.6879 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.7077, allocations: 198.5 kB / 0.6881 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.7078, allocations: 4.641 kB / 0.6881 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.7081, allocations: 33.14 kB / 0.6881 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.7081, allocations: 4 kB / 0.6881 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.7081, allocations: 6.656 kB / 0.6881 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.7081, allocations: 5.359 kB / 0.6881 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.7082, allocations: 0.6094 kB / 0.6881 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008178/0.709, allocations: 254.9 kB / 0.6884 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.709, allocations: 82.89 kB / 0.6884 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.7091, allocations: 1.312 kB / 0.6885 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.7094, allocations: 34 kB / 0.6885 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.7095, allocations: 21.22 kB / 0.6885 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.7095, allocations: 4.031 kB / 0.6885 GB, free: 13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.524e-05/0.7096, allocations: 100.8 kB / 0.6886 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.6e-07/0.7096, allocations: 0 / 0.6886 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003265/0.71, allocations: 15.75 kB / 0.6886 GB, free: 12.91 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001098/0.7111, allocations: 0.7905 MB / 0.6894 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007935/0.7119, allocations: 134.2 kB / 0.6895 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7119, allocations: 0 / 0.6895 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003951/0.7123, allocations: 68.58 kB / 0.6896 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.7127, allocations: 16.48 kB / 0.6896 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.7148, allocations: 0.6516 MB / 0.6902 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.7151, allocations: 0.6934 MB / 0.6909 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000138/0.7152, allocations: 11.5 kB / 0.6909 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.7153, allocations: 26.23 kB / 0.6909 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of SimCode: time 9.52e-07/0.7153, allocations: 0 / 0.6909 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.74, allocations: 2.234 MB / 0.6931 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002798/0.7403, allocations: 183.2 kB / 0.6933 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.613/3.353, allocations: 3.938 kB / 0.6933 GB, free: 10.54 MB / 0.5261 GB