Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.306/2.306, allocations: 248.5 MB / 261.1 MB, free: 6.059 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001405, allocations: 182.2 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.2 MB / 0.571 GB, free: 11.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001195/0.001194, allocations: 98.42 kB / 0.6754 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.665e-05/3.67e-05, allocations: 8 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2144, allocations: 106.3 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9287/1.143, allocations: 131.5 MB / 1.019 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/1.144, allocations: 71.77 kB / 1.019 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00416/1.148, allocations: 0.9744 MB / 1.02 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/1.148, allocations: 4 kB / 1.02 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.366e-06/1.148, allocations: 0 / 1.02 GB, free: 2.555 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.0005932/1.148, allocations: 350.3 kB / 1.02 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/1.148, allocations: 8.031 kB / 1.02 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.6e-05/1.149, allocations: 34.31 kB / 1.02 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/1.149, allocations: 7.906 kB / 1.02 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/1.149, allocations: 167 kB / 1.021 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/1.149, allocations: 4 kB / 1.021 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/1.149, allocations: 7.312 kB / 1.021 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/1.149, allocations: 56.73 kB / 1.021 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.149, allocations: 0 / 1.021 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/1.149, allocations: 0 / 1.021 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/1.149, allocations: 3.938 kB / 1.021 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/1.149, allocations: 34.28 kB / 1.021 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/1.15, allocations: 282.4 kB / 1.021 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/1.15, allocations: 57.59 kB / 1.021 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.237e-05/1.15, allocations: 22.56 kB / 1.021 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/1.15, allocations: 0 / 1.021 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/1.15, allocations: 30.56 kB / 1.021 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/1.15, allocations: 4 kB / 1.021 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002416/1.15, allocations: 60.45 kB / 1.021 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/1.15, allocations: 55.41 kB / 1.021 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/1.151, allocations: 103.9 kB / 1.021 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/1.151, allocations: 25.7 kB / 1.021 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/1.151, allocations: 87.45 kB / 1.021 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/1.151, allocations: 7.812 kB / 1.021 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/1.151, allocations: 3.938 kB / 1.021 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.151, allocations: 321.8 kB / 1.022 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.138e-05/1.151, allocations: 11.69 kB / 1.022 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.627e-05/1.151, allocations: 15.75 kB / 1.022 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.067e-05/1.151, allocations: 11.44 kB / 1.022 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.151, allocations: 0 / 1.022 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001617/1.151, allocations: 56.75 kB / 1.022 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.151, allocations: 11.98 kB / 1.022 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.151, allocations: 0 / 1.022 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/1.151, allocations: 0 / 1.022 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/1.152, allocations: 11.98 kB / 1.022 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/1.152, allocations: 8.734 kB / 1.022 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/1.152, allocations: 15.92 kB / 1.022 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/1.152, allocations: 4 kB / 1.022 GB, free: 0.5977 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.163e-05/1.152, allocations: 108.9 kB / 1.022 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/1.152, allocations: 7.906 kB / 1.022 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.074e-05/1.152, allocations: 7.219 kB / 1.022 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/1.152, allocations: 0 / 1.022 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.152, allocations: 0 / 1.022 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.152, allocations: 3.953 kB / 1.022 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/1.152, allocations: 183.9 kB / 1.022 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.152, allocations: 2.75 kB / 1.022 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/1.152, allocations: 11.98 kB / 1.022 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.152, allocations: 4 kB / 1.022 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/1.152, allocations: 0 / 1.022 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/1.152, allocations: 0 / 1.022 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.152, allocations: 0 / 1.022 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/1.153, allocations: 162.9 kB / 1.022 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.562e-05/1.153, allocations: 81.02 kB / 1.022 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/1.153, allocations: 4 kB / 1.022 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/1.153, allocations: 7.984 kB / 1.022 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.746e-05/1.153, allocations: 15.28 kB / 1.022 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/1.153, allocations: 4 kB / 1.022 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.328e-05/1.153, allocations: 85.89 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.153, allocations: 0 / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002942/1.154, allocations: 18.55 kB / 1.023 GB, free: 15.84 MB / 0.6511 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.0006554/1.154, allocations: 0.7016 MB / 1.023 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001632/1.154, allocations: 26.94 kB / 1.023 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.154, allocations: 3.562 kB / 1.023 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.711e-05/1.154, allocations: 22.61 kB / 1.023 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/1.155, allocations: 11.31 kB / 1.023 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005248/1.155, allocations: 114.1 kB / 1.023 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/1.156, allocations: 0.6848 MB / 1.024 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.507e-05/1.156, allocations: 8.234 kB / 1.024 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/1.156, allocations: 14.5 kB / 1.024 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of SimCode: time 7.31e-07/1.156, allocations: 0 / 1.024 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/1.176, allocations: 1.515 MB / 1.026 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003713/1.177, allocations: 172.4 kB / 1.026 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.396/3.572, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.6511 GB