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.01506/0.01506, allocations: 106.6 kB / 15.05 MB, free: 5.93 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.001118/0.001118, allocations: 186.4 kB / 15.94 MB, free: 5.895 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 1.987/1.987, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.336/2.336, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006444/0.0006444, allocations: 12 kB / 0.587 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7391/0.7398, allocations: 98.72 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2323/0.9722, allocations: 124.7 MB / 0.8052 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.9725, allocations: 71.95 kB / 0.8053 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.007117/0.9797, allocations: 1.459 MB / 0.8067 GB, free: 72 kB / 0.6198 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9797, allocations: 0 / 0.8067 GB, free: 72 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.9797, allocations: 4 kB / 0.8067 GB, free: 68 kB / 0.6198 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.0008669/0.9806, allocations: 387.1 kB / 0.8071 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.9807, allocations: 12.03 kB / 0.8071 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.355e-05/0.9807, allocations: 46.48 kB / 0.8071 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.9808, allocations: 11.91 kB / 0.8071 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.981, allocations: 171 kB / 0.8073 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.981, allocations: 8 kB / 0.8073 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.981, allocations: 4 kB / 0.8073 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005148/0.9816, allocations: 117.6 kB / 0.8074 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.9816, allocations: 0 / 0.8074 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.9816, allocations: 4 kB / 0.8074 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.9817, allocations: 7.984 kB / 0.8074 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007114/0.9824, allocations: 123.7 kB / 0.8075 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007574/0.9832, allocations: 352.7 kB / 0.8079 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.9844, allocations: 126.5 kB / 0.808 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.039e-05/0.9844, allocations: 4 kB / 0.808 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.9845, allocations: 38.56 kB / 0.808 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/0.9845, allocations: 0 / 0.808 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.001282/0.9858, allocations: 213.4 kB / 0.8082 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.9858, allocations: 55.39 kB / 0.8083 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.986, allocations: 116.9 kB / 0.8084 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.986, allocations: 25.7 kB / 0.8084 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/0.9861, allocations: 95.98 kB / 0.8085 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.9861, allocations: 19.8 kB / 0.8085 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.9862, allocations: 0 / 0.8085 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.9863, allocations: 314.8 kB / 0.8088 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.9867, allocations: 60.11 kB / 0.8089 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.987, allocations: 55.94 kB / 0.809 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/0.9874, allocations: 63.95 kB / 0.809 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.9874, allocations: 0 / 0.809 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000808/0.9882, allocations: 157.4 kB / 0.8092 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.9883, allocations: 9.562 kB / 0.8092 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.9883, allocations: 0 / 0.8092 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.9883, allocations: 3.953 kB / 0.8092 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.9886, allocations: 39.91 kB / 0.8092 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.9887, allocations: 0 / 0.8092 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.9889, allocations: 15.98 kB / 0.8092 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.9889, allocations: 7.984 kB / 0.8092 GB, free: 13.23 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: 3 (max1.u1,max1.u2,max1.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.0001175/0.9891, allocations: 113.8 kB / 0.8093 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.9891, allocations: 7.906 kB / 0.8094 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008591/0.99, allocations: 170 kB / 0.8095 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.99, allocations: 0 / 0.8095 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.99, allocations: 3.953 kB / 0.8095 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.99, allocations: 3.984 kB / 0.8095 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.9903, allocations: 197.6 kB / 0.8097 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.9903, allocations: 0 / 0.8097 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/0.9907, allocations: 35.91 kB / 0.8097 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.9907, allocations: 4 kB / 0.8097 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.9907, allocations: 7.984 kB / 0.8098 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.9907, allocations: 0 / 0.8098 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.9907, allocations: 0 / 0.8098 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008565/0.9916, allocations: 255.3 kB / 0.81 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.9917, allocations: 88.95 kB / 0.8101 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.9917, allocations: 0 / 0.8101 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.992, allocations: 27.92 kB / 0.8101 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.9921, allocations: 23.97 kB / 0.8101 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.9921, allocations: 7.984 kB / 0.8101 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.355e-05/0.9922, allocations: 95.61 kB / 0.8102 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9922, allocations: 3.938 kB / 0.8102 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003179/0.9926, allocations: 19.98 kB / 0.8103 GB, free: 12.09 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: 3 (max1.u1,max1.u2,max1.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.001215/0.9938, allocations: 0.7975 MB / 0.811 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007878/0.9946, allocations: 131.9 kB / 0.8112 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9946, allocations: 0 / 0.8112 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004025/0.995, allocations: 71.94 kB / 0.8112 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.9953, allocations: 8 kB / 0.8112 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.9976, allocations: 0.6626 MB / 0.8119 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.9979, allocations: 0.6948 MB / 0.8126 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001363/0.9981, allocations: 16.17 kB / 0.8126 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.9982, allocations: 27.75 kB / 0.8126 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of SimCode: time 1.102e-06/0.9982, allocations: 0 / 0.8126 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/1.021, allocations: 2.242 MB / 0.8148 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002849/1.022, allocations: 174.4 kB / 0.815 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/3.484, allocations: 0 / 0.815 GB, free: 7.215 MB / 0.6355 GB