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.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.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_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.0124/0.0124, allocations: 106.8 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.002423/0.002424, 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.984/1.984, allocations: 194.6 MB / 211.3 MB, free: 11.27 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.298/2.298, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004794, allocations: 20 kB / 0.5871 GB, free: 2.027 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7057/0.7063, allocations: 98.7 MB / 0.6834 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2502/0.9565, allocations: 124.3 MB / 0.8048 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/0.9569, allocations: 71.95 kB / 0.8049 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002808/0.9598, allocations: 0.6232 MB / 0.8055 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9598, allocations: 0 / 0.8055 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.9598, allocations: 0 / 0.8055 GB, free: 1.219 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006136/0.9605, allocations: 343.3 kB / 0.8058 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.9605, allocations: 8.031 kB / 0.8058 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.196e-05/0.9606, allocations: 38.55 kB / 0.8058 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.9606, allocations: 7.844 kB / 0.8059 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.9608, allocations: 167 kB / 0.806 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.9609, allocations: 0 / 0.806 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.9609, allocations: 4 kB / 0.806 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.9612, allocations: 61.61 kB / 0.8061 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.9613, allocations: 0 / 0.8061 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.9613, allocations: 0 / 0.8061 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.9613, allocations: 0 / 0.8061 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/0.9617, allocations: 43.97 kB / 0.8061 GB, free: 468 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006486/0.9624, allocations: 264.9 kB / 0.8064 GB, free: 152 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.9626, allocations: 46.56 kB / 0.8064 GB, free: 96 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.9627, allocations: 0 / 0.8064 GB, free: 96 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.9627, allocations: 38.44 kB / 0.8064 GB, free: 48 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.264e-06/0.9627, allocations: 0 / 0.8064 GB, free: 48 kB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0007355/0.9635, allocations: 97.7 kB / 0.8065 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.9636, allocations: 55.41 kB / 0.8066 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.9637, allocations: 104.9 kB / 0.8067 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.9637, allocations: 25.7 kB / 0.8067 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.9638, allocations: 84.05 kB / 0.8068 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.9638, allocations: 7.938 kB / 0.8068 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.9639, allocations: 8.125 kB / 0.8068 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.964, allocations: 314.8 kB / 0.8071 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.9642, allocations: 19.98 kB / 0.8071 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.9644, allocations: 19.98 kB / 0.8072 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.9646, allocations: 23.98 kB / 0.8072 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.9647, allocations: 0 / 0.8072 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004631/0.9651, allocations: 77.66 kB / 0.8072 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.9652, allocations: 12.03 kB / 0.8073 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.9652, allocations: 0 / 0.8073 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.9653, allocations: 0 / 0.8073 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.9654, allocations: 11.98 kB / 0.8073 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.9655, allocations: 0 / 0.8073 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.9656, allocations: 11.91 kB / 0.8073 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.9656, allocations: 3.953 kB / 0.8073 GB, free: 15.14 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: 1 (lesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001282/0.9658, allocations: 113.8 kB / 0.8074 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.9658, allocations: 4 kB / 0.8074 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.9659, allocations: 7.125 kB / 0.8074 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.9659, allocations: 0 / 0.8074 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.9659, allocations: 3.984 kB / 0.8074 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.9659, allocations: 0 / 0.8074 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.9662, allocations: 165.6 kB / 0.8076 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.9663, allocations: 0 / 0.8076 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.9664, allocations: 15.88 kB / 0.8076 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.9664, allocations: 4 kB / 0.8076 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.9665, allocations: 0 / 0.8076 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.9665, allocations: 0 / 0.8076 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.9665, allocations: 0 / 0.8076 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005145/0.967, allocations: 179.4 kB / 0.8078 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.9671, allocations: 77.11 kB / 0.8078 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.9671, allocations: 7.984 kB / 0.8078 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.9673, allocations: 4 kB / 0.8078 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.9674, allocations: 7.984 kB / 0.8079 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.9674, allocations: 0 / 0.8079 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.964e-05/0.9675, allocations: 87.56 kB / 0.8079 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/0.9675, allocations: 0 / 0.8079 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004686/0.968, allocations: 4 kB / 0.8079 GB, free: 14.38 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: 1 (lesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0009874/0.969, allocations: 0.7162 MB / 0.8086 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004655/0.9695, allocations: 51.98 kB / 0.8087 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.9695, allocations: 0 / 0.8087 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.9697, allocations: 27.92 kB / 0.8087 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.9701, allocations: 0 / 0.8087 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006787/0.9708, allocations: 138.4 kB / 0.8088 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.9712, allocations: 0.6812 MB / 0.8095 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.001e-05/0.9712, allocations: 0 / 0.8095 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/0.9713, allocations: 11.42 kB / 0.8095 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of SimCode: time 1.122e-06/0.9713, allocations: 4 kB / 0.8095 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/1, allocations: 1.066 MB / 0.8106 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002954/1, allocations: 196.9 kB / 0.8108 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/3.417, allocations: 0 / 0.8108 GB, free: 11.46 MB / 0.6355 GB