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 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.LessThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.992/3.992, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.44e-05/2.438e-05, allocations: 4.938 kB / 0.5325 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2244, allocations: 98.74 MB / 0.6289 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.232/0.4564, allocations: 123.8 MB / 0.7499 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.4568, allocations: 71.95 kB / 0.7499 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004253/0.4611, allocations: 0.9576 MB / 0.7509 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4611, allocations: 0 / 0.7509 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.4612, allocations: 0 / 0.7509 GB, free: 12.09 MB / 0.6355 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.0005854/0.4618, allocations: 358.4 kB / 0.7512 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.4618, allocations: 12.03 kB / 0.7512 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.4619, allocations: 11.86 kB / 0.7512 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.4621, allocations: 167.1 kB / 0.7514 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.4621, allocations: 3.984 kB / 0.7514 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.4621, allocations: 4 kB / 0.7514 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001129/0.4623, allocations: 20 kB / 0.7514 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.4624, allocations: 53.61 kB / 0.7515 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4624, allocations: 0 / 0.7515 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.4624, allocations: 0 / 0.7515 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.4625, allocations: 4 kB / 0.7515 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.463, allocations: 265.4 kB / 0.7517 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.4631, allocations: 42.58 kB / 0.7518 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.501e-05/0.4632, allocations: 21.02 kB / 0.7518 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.4632, allocations: 7.938 kB / 0.7518 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.4633, allocations: 30.56 kB / 0.7518 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/0.4633, allocations: 4 kB / 0.7518 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.00023/0.4635, allocations: 57.59 kB / 0.7519 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.4636, allocations: 55.36 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.4637, allocations: 97 kB / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.4637, allocations: 25.7 kB / 0.752 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/0.4638, allocations: 96.06 kB / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.4639, allocations: 7.812 kB / 0.7521 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.4639, allocations: 0 / 0.7521 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.464, allocations: 314.8 kB / 0.7524 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.143e-05/0.4641, allocations: 19.98 kB / 0.7525 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.705e-05/0.4641, allocations: 8 kB / 0.7525 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.33e-05/0.4642, allocations: 8 kB / 0.7525 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4642, allocations: 0 / 0.7525 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001485/0.4644, allocations: 57.62 kB / 0.7525 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4644, allocations: 4 kB / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.4644, allocations: 0 / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.4644, allocations: 4 kB / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.4646, allocations: 19.97 kB / 0.7526 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4647, allocations: 0 / 0.7526 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.4648, allocations: 15.89 kB / 0.7526 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.4649, allocations: 7.984 kB / 0.7526 GB, free: 10.12 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 () * 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.077e-05/0.465, allocations: 105 kB / 0.7527 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000154/0.4651, allocations: 57.53 kB / 0.7527 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.4652, allocations: 4 kB / 0.7527 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.4652, allocations: 8.344 kB / 0.7527 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.4652, allocations: 4 kB / 0.7527 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4652, allocations: 4.188 kB / 0.7528 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4653, allocations: 0 / 0.7528 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.4655, allocations: 162.1 kB / 0.7529 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.4655, allocations: 3.984 kB / 0.7529 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.4657, allocations: 11.98 kB / 0.7529 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4657, allocations: 0 / 0.7529 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.4657, allocations: 4 kB / 0.7529 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.4657, allocations: 0 / 0.7529 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.4657, allocations: 0 / 0.7529 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.466, allocations: 163.3 kB / 0.7531 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/0.466, allocations: 85.11 kB / 0.7532 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.4661, allocations: 0 / 0.7532 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.4663, allocations: 11.98 kB / 0.7532 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.048e-05/0.4664, allocations: 11.92 kB / 0.7532 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.4664, allocations: 0 / 0.7532 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.4665, allocations: 87.28 kB / 0.7533 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.91e-07/0.4665, allocations: 0 / 0.7533 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003135/0.4668, allocations: 12 kB / 0.7533 GB, free: 9.312 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 () * 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.0006292/0.4674, allocations: 0.6928 MB / 0.754 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.4676, allocations: 31.92 kB / 0.754 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4676, allocations: 4 kB / 0.754 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.857e-05/0.4677, allocations: 16 kB / 0.754 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.468, allocations: 8 kB / 0.754 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005486/0.4685, allocations: 109.5 kB / 0.7541 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.4689, allocations: 0.6846 MB / 0.7548 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.165e-05/0.469, allocations: 8 kB / 0.7548 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.723e-05/0.4691, allocations: 19.42 kB / 0.7548 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/0.4691, allocations: 0 / 0.7548 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06942/0.5385, allocations: 1.179 MB / 0.756 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002616/0.5389, allocations: 155.6 kB / 0.7561 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/2.887, allocations: 0 / 0.7561 GB, free: 6.293 MB / 0.6355 GB