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.GreaterEqualThreshold.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.GreaterEqualThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.198/4.198, allocations: 433.2 MB / 440.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.595e-05/2.591e-05, allocations: 4 kB / 0.5325 GB, free: 1.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.62/0.62, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/0.8483, allocations: 123.8 MB / 0.7499 GB, free: 3.715 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.8487, allocations: 71.95 kB / 0.7499 GB, free: 3.645 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004058/0.8527, allocations: 0.9513 MB / 0.7508 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8528, allocations: 4 kB / 0.7509 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.8528, allocations: 0 / 0.7509 GB, free: 2.684 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.0005238/0.8533, allocations: 350.4 kB / 0.7512 GB, free: 2.297 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.8534, allocations: 12.03 kB / 0.7512 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.8535, allocations: 3.906 kB / 0.7512 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.8536, allocations: 171 kB / 0.7514 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.8536, allocations: 0 / 0.7514 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.8537, allocations: 8 kB / 0.7514 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001077/0.8538, allocations: 20 kB / 0.7514 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.8539, allocations: 53.67 kB / 0.7514 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.854, allocations: 0 / 0.7514 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.854, allocations: 4 kB / 0.7514 GB, free: 1.984 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.854, allocations: 0 / 0.7514 GB, free: 1.984 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.8545, allocations: 265.2 kB / 0.7517 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.8546, allocations: 50.59 kB / 0.7517 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.093e-05/0.8547, allocations: 12.86 kB / 0.7518 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.8547, allocations: 16 kB / 0.7518 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.8548, allocations: 30.56 kB / 0.7518 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.8548, allocations: 0 / 0.7518 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.00022/0.855, allocations: 57.77 kB / 0.7519 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.855, allocations: 51.41 kB / 0.7519 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.8552, allocations: 104.9 kB / 0.752 GB, free: 1.324 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.8552, allocations: 25.7 kB / 0.752 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.399e-05/0.8553, allocations: 88.14 kB / 0.7521 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.8553, allocations: 11.81 kB / 0.7521 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.8553, allocations: 0 / 0.7521 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.8555, allocations: 318.8 kB / 0.7524 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.097e-05/0.8555, allocations: 12 kB / 0.7524 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.763e-05/0.8556, allocations: 8 kB / 0.7525 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.172e-05/0.8556, allocations: 8 kB / 0.7525 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8556, allocations: 0 / 0.7525 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001468/0.8558, allocations: 57.81 kB / 0.7525 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.8558, allocations: 4 kB / 0.7525 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.8558, allocations: 7.984 kB / 0.7525 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.8559, allocations: 7.938 kB / 0.7525 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.8561, allocations: 15.97 kB / 0.7525 GB, free: 0.7461 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.8561, allocations: 0 / 0.7525 GB, free: 0.7461 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.8562, allocations: 8 kB / 0.7526 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.8563, allocations: 11.94 kB / 0.7526 GB, free: 0.7266 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 (intGreEquThr.u,intGreEquThr.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 8.647e-05/0.8563, allocations: 108.9 kB / 0.7527 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001647/0.8565, allocations: 61.59 kB / 0.7527 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.8566, allocations: 4 kB / 0.7527 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.8566, allocations: 4.344 kB / 0.7527 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.8566, allocations: 0 / 0.7527 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.8566, allocations: 3.953 kB / 0.7527 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.8566, allocations: 0 / 0.7527 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.8569, allocations: 154.1 kB / 0.7529 GB, free: 356 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8569, allocations: 3.938 kB / 0.7529 GB, free: 352 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.857, allocations: 15.98 kB / 0.7529 GB, free: 336 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.8571, allocations: 4 kB / 0.7529 GB, free: 332 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.8571, allocations: 0 / 0.7529 GB, free: 332 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.8571, allocations: 0 / 0.7529 GB, free: 332 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8571, allocations: 4 kB / 0.7529 GB, free: 328 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.8573, allocations: 159.4 kB / 0.7531 GB, free: 152 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.8574, allocations: 81.11 kB / 0.7531 GB, free: 52 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.8574, allocations: 0 / 0.7531 GB, free: 52 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.8576, allocations: 15.98 kB / 0.7532 GB, free: 36 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.8577, allocations: 7.984 kB / 0.7532 GB, free: 28 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.8577, allocations: 4 kB / 0.7532 GB, free: 24 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.211e-05/0.8578, allocations: 87.58 kB / 0.7533 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.8578, allocations: 0 / 0.7533 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003191/0.8581, allocations: 12 kB / 0.7533 GB, free: 15.93 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 (intGreEquThr.u,intGreEquThr.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.0005376/0.8587, allocations: 0.7045 MB / 0.754 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.8588, allocations: 27.98 kB / 0.754 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8588, allocations: 0 / 0.754 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.8e-05/0.8589, allocations: 19.94 kB / 0.754 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.8592, allocations: 8 kB / 0.754 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.8597, allocations: 101.5 kB / 0.7541 GB, free: 15 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.86, allocations: 0.6962 MB / 0.7548 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.266e-05/0.8601, allocations: 4 kB / 0.7548 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.709e-05/0.8601, allocations: 15.42 kB / 0.7548 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of SimCode: time 7.61e-07/0.8601, allocations: 0 / 0.7548 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03823/0.8984, allocations: 1.198 MB / 0.756 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003087/0.8988, allocations: 157.3 kB / 0.7561 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/3.143, allocations: 0 / 0.7561 GB, free: 12.89 MB / 0.6355 GB