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.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.01116/0.01116, allocations: 106.9 kB / 15.05 MB, free: 5.98 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.001203/0.001203, allocations: 184.3 kB / 15.94 MB, free: 5.938 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.05/2.05, allocations: 194.6 MB / 211.3 MB, free: 11.26 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.274/2.274, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004903, allocations: 12 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6933/0.6938, allocations: 98.7 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2332/0.9271, allocations: 124.6 MB / 0.8051 GB, free: 1.586 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.9275, allocations: 71.95 kB / 0.8052 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004163/0.9317, allocations: 0.963 MB / 0.8061 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9317, allocations: 0 / 0.8061 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.9317, allocations: 0 / 0.8061 GB, free: 0.5469 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005998/0.9323, allocations: 363.2 kB / 0.8065 GB, free: 148 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.9324, allocations: 8.031 kB / 0.8065 GB, free: 140 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.9325, allocations: 46.48 kB / 0.8065 GB, free: 84 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.9325, allocations: 4 kB / 0.8065 GB, free: 80 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.9327, allocations: 174.9 kB / 0.8067 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.9327, allocations: 0 / 0.8067 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.9327, allocations: 8 kB / 0.8067 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.933, allocations: 65.66 kB / 0.8068 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.9331, allocations: 4 kB / 0.8068 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.9331, allocations: 0 / 0.8068 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.9331, allocations: 4 kB / 0.8068 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003635/0.9335, allocations: 59.94 kB / 0.8068 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000531/0.934, allocations: 288.8 kB / 0.8071 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.9344, allocations: 66.58 kB / 0.8072 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.9344, allocations: 80 / 0.8072 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.9344, allocations: 30.56 kB / 0.8072 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.9344, allocations: 0 / 0.8072 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0006847/0.9351, allocations: 133.6 kB / 0.8073 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.9352, allocations: 59.36 kB / 0.8074 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.9354, allocations: 105 kB / 0.8075 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.9354, allocations: 25.7 kB / 0.8075 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.253e-05/0.9355, allocations: 88.12 kB / 0.8076 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.9355, allocations: 11.84 kB / 0.8076 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.9355, allocations: 0 / 0.8076 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.9357, allocations: 314.8 kB / 0.8079 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.9359, allocations: 27.97 kB / 0.8079 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.9361, allocations: 31.98 kB / 0.808 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.9363, allocations: 27.97 kB / 0.808 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.9363, allocations: 0 / 0.808 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004382/0.9367, allocations: 105.8 kB / 0.8081 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.9368, allocations: 8 kB / 0.8081 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.9368, allocations: 3.938 kB / 0.8081 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.9368, allocations: 3.938 kB / 0.8081 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.937, allocations: 11.98 kB / 0.8081 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.937, allocations: 0 / 0.8081 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.9372, allocations: 19.98 kB / 0.8081 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.9372, allocations: 7.984 kB / 0.8081 GB, free: 14.26 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: 2 (intLesThr.u,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.9373, allocations: 109.8 kB / 0.8082 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.9374, allocations: 4 kB / 0.8082 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.9374, allocations: 3.906 kB / 0.8082 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.9374, allocations: 0 / 0.8082 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.9374, allocations: 0 / 0.8082 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.9374, allocations: 4 kB / 0.8083 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.9377, allocations: 181.6 kB / 0.8084 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9377, allocations: 4 kB / 0.8084 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.9379, allocations: 19.92 kB / 0.8084 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.9379, allocations: 0 / 0.8084 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.9379, allocations: 0 / 0.8084 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.9379, allocations: 0 / 0.8084 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.9379, allocations: 3.984 kB / 0.8085 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.9384, allocations: 195.4 kB / 0.8086 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.9385, allocations: 81.09 kB / 0.8087 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.9385, allocations: 0 / 0.8087 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.9387, allocations: 11.98 kB / 0.8087 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.9388, allocations: 11.98 kB / 0.8087 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.9388, allocations: 4 kB / 0.8087 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.296e-05/0.9389, allocations: 87.28 kB / 0.8088 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9389, allocations: 0 / 0.8088 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000298/0.9392, allocations: 12 kB / 0.8088 GB, free: 13.44 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: 2 (intLesThr.u,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0008489/0.9401, allocations: 0.7498 MB / 0.8096 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.9405, allocations: 63.95 kB / 0.8096 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.9405, allocations: 0 / 0.8096 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.9408, allocations: 35.91 kB / 0.8097 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.941, allocations: 8 kB / 0.8097 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.9424, allocations: 491.7 kB / 0.8101 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.9427, allocations: 0.6848 MB / 0.8108 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.019e-05/0.9428, allocations: 7.938 kB / 0.8108 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/0.9429, allocations: 19.42 kB / 0.8108 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of SimCode: time 2.715e-06/0.9429, allocations: 3.938 kB / 0.8108 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.9674, allocations: 1.505 MB / 0.8123 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003225/0.9678, allocations: 198.7 kB / 0.8125 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/3.418, allocations: 4 kB / 0.8125 GB, free: 9.652 MB / 0.6355 GB