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.LessEqualThreshold.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.038/4.038, allocations: 433.2 MB / 440.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.245e-05/3.242e-05, allocations: 8 kB / 0.5325 GB, free: 1.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6647/0.6648, allocations: 98.71 MB / 0.6289 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2316/0.8965, allocations: 123.8 MB / 0.7498 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.8968, allocations: 71.95 kB / 0.7499 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004112/0.9009, allocations: 0.9591 MB / 0.7508 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.432e-06/0.901, allocations: 0 / 0.7508 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.901, allocations: 0 / 0.7508 GB, free: 2.77 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.0005568/0.9015, allocations: 350.5 kB / 0.7512 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.9016, allocations: 12.03 kB / 0.7512 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.9017, allocations: 3.906 kB / 0.7512 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.9018, allocations: 167 kB / 0.7514 GB, free: 2.164 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.9019, allocations: 3.984 kB / 0.7514 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.9019, allocations: 4 kB / 0.7514 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001159/0.902, allocations: 20 kB / 0.7514 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.9022, allocations: 61.59 kB / 0.7514 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.9022, allocations: 0 / 0.7514 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.9022, allocations: 0 / 0.7514 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.9022, allocations: 4 kB / 0.7514 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.9027, allocations: 261.3 kB / 0.7517 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.9029, allocations: 42.58 kB / 0.7517 GB, free: 1.723 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.508e-05/0.903, allocations: 24.97 kB / 0.7518 GB, free: 1.695 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.903, allocations: 11.92 kB / 0.7518 GB, free: 1.684 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.903, allocations: 30.56 kB / 0.7518 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.9031, allocations: 0 / 0.7518 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.000226/0.9033, allocations: 53.69 kB / 0.7518 GB, free: 1.586 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.9033, allocations: 51.41 kB / 0.7519 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.731e-05/0.9034, allocations: 101 kB / 0.752 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.9035, allocations: 25.7 kB / 0.752 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.9036, allocations: 96.12 kB / 0.7521 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.9036, allocations: 7.812 kB / 0.7521 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.9036, allocations: 0 / 0.7521 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.9038, allocations: 310.8 kB / 0.7524 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.26e-05/0.9038, allocations: 12 kB / 0.7524 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.141e-05/0.9039, allocations: 11.98 kB / 0.7524 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.853e-05/0.9039, allocations: 15.94 kB / 0.7525 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9039, allocations: 0 / 0.7525 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001483/0.9041, allocations: 53.69 kB / 0.7525 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.9041, allocations: 8 kB / 0.7525 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.9041, allocations: 0 / 0.7525 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.9042, allocations: 8.188 kB / 0.7525 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.9044, allocations: 11.98 kB / 0.7525 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.9044, allocations: 0 / 0.7525 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.9045, allocations: 15.92 kB / 0.7525 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.9046, allocations: 7.938 kB / 0.7526 GB, free: 0.8203 MB / 0.6198 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 (intLesEquThr.u,intLesEquThr.y) * Number of discrete 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 9.341e-05/0.9047, allocations: 112.9 kB / 0.7527 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001601/0.9048, allocations: 65.52 kB / 0.7527 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.9049, allocations: 4 kB / 0.7527 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.9049, allocations: 8.344 kB / 0.7527 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.9049, allocations: 0 / 0.7527 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.905, allocations: 3.953 kB / 0.7527 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.905, allocations: 0 / 0.7527 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.9052, allocations: 154.1 kB / 0.7529 GB, free: 440 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.9052, allocations: 4 kB / 0.7529 GB, free: 436 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.9054, allocations: 15.98 kB / 0.7529 GB, free: 420 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.9054, allocations: 0 / 0.7529 GB, free: 420 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.9054, allocations: 0 / 0.7529 GB, free: 420 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.341e-06/0.9054, allocations: 4 kB / 0.7529 GB, free: 416 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.9054, allocations: 0 / 0.7529 GB, free: 416 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.9056, allocations: 151.4 kB / 0.7531 GB, free: 248 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.9057, allocations: 85.09 kB / 0.7531 GB, free: 144 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.9057, allocations: 0 / 0.7531 GB, free: 144 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.9059, allocations: 11.94 kB / 0.7531 GB, free: 132 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.496e-05/0.906, allocations: 15.97 kB / 0.7532 GB, free: 116 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.9061, allocations: 4 kB / 0.7532 GB, free: 112 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.788e-05/0.9061, allocations: 83.28 kB / 0.7532 GB, free: 28 kB / 0.6198 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9061, allocations: 0 / 0.7532 GB, free: 28 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003064/0.9064, allocations: 12 kB / 0.7533 GB, free: 16 kB / 0.6198 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 (intLesEquThr.u,intLesEquThr.y) * Number of discrete 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.00064/0.9071, allocations: 0.7007 MB / 0.7539 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.9073, allocations: 31.92 kB / 0.754 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9073, allocations: 0 / 0.754 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.576e-05/0.9074, allocations: 16 kB / 0.754 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.9076, allocations: 80 / 0.754 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005142/0.9082, allocations: 113.5 kB / 0.7541 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.9085, allocations: 0.6923 MB / 0.7548 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.394e-05/0.9086, allocations: 4 kB / 0.7548 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.885e-05/0.9087, allocations: 15.42 kB / 0.7548 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of SimCode: time 7.71e-07/0.9087, allocations: 0 / 0.7548 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03915/0.9478, allocations: 1.215 MB / 0.756 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/0.9482, allocations: 153.6 kB / 0.7561 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/3.234, allocations: 4 kB / 0.7561 GB, free: 12.97 MB / 0.6355 GB