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.GreaterThreshold.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.GreaterThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.17/4.17, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.485e-05/3.485e-05, allocations: 6.312 kB / 0.5325 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2086, allocations: 98.72 MB / 0.6289 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2227/0.4313, allocations: 123.8 MB / 0.7498 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.4316, allocations: 71.95 kB / 0.7499 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004088/0.4357, allocations: 0.9576 MB / 0.7508 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4358, allocations: 4 kB / 0.7509 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.4358, allocations: 0 / 0.7509 GB, free: 12.04 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.0005311/0.4364, allocations: 358.4 kB / 0.7512 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.4364, allocations: 8.031 kB / 0.7512 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.4365, allocations: 15.86 kB / 0.7512 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.4366, allocations: 167.1 kB / 0.7514 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.4367, allocations: 0 / 0.7514 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.4367, allocations: 8 kB / 0.7514 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001143/0.4368, allocations: 23.98 kB / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.437, allocations: 49.62 kB / 0.7515 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.437, allocations: 0 / 0.7515 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.437, allocations: 0 / 0.7515 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.437, allocations: 0 / 0.7515 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004858/0.4375, allocations: 261.4 kB / 0.7517 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.4377, allocations: 46.56 kB / 0.7517 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.4377, allocations: 24.83 kB / 0.7518 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.4378, allocations: 0 / 0.7518 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.4378, allocations: 34.56 kB / 0.7518 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 4.138e-06/0.4378, allocations: 3.984 kB / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002419/0.4381, allocations: 61.72 kB / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.4381, allocations: 55.36 kB / 0.7519 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.885e-05/0.4382, allocations: 101 kB / 0.752 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.4383, allocations: 25.7 kB / 0.752 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.4383, allocations: 84.14 kB / 0.7521 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.4384, allocations: 19.73 kB / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.4384, allocations: 0 / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4385, allocations: 310.8 kB / 0.7524 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.26e-05/0.4386, allocations: 16 kB / 0.7525 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.4386, allocations: 8 kB / 0.7525 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.742e-05/0.4387, allocations: 15.92 kB / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4387, allocations: 0 / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001431/0.4388, allocations: 57.69 kB / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4389, allocations: 4 kB / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4389, allocations: 0 / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.4389, allocations: 0 / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.4391, allocations: 19.92 kB / 0.7526 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.4391, allocations: 0 / 0.7526 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.4393, allocations: 19.94 kB / 0.7526 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.4393, allocations: 0 / 0.7526 GB, free: 10.08 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 (intGreThr.u,intGreThr.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.593e-05/0.4394, allocations: 109 kB / 0.7527 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001589/0.4396, allocations: 61.52 kB / 0.7527 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.4396, allocations: 0 / 0.7527 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.4397, allocations: 12.34 kB / 0.7527 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4397, allocations: 0 / 0.7527 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4397, allocations: 3.953 kB / 0.7528 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4397, allocations: 0 / 0.7528 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.4399, allocations: 154.2 kB / 0.7529 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4399, allocations: 4 kB / 0.7529 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.4401, allocations: 19.97 kB / 0.7529 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4401, allocations: 0 / 0.7529 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4401, allocations: 0 / 0.7529 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4401, allocations: 0 / 0.7529 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.453e-06/0.4402, allocations: 4 kB / 0.7529 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.4404, allocations: 151.4 kB / 0.7531 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.4404, allocations: 85.11 kB / 0.7531 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.4405, allocations: 11.98 kB / 0.7532 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.4407, allocations: 11.94 kB / 0.7532 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.4408, allocations: 7.922 kB / 0.7532 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.4408, allocations: 7.984 kB / 0.7532 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.543e-05/0.4409, allocations: 83.28 kB / 0.7533 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4409, allocations: 0 / 0.7533 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003171/0.4412, allocations: 8 kB / 0.7533 GB, free: 9.273 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 (intGreThr.u,intGreThr.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.0005466/0.4418, allocations: 0.7048 MB / 0.754 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001354/0.4419, allocations: 31.92 kB / 0.754 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4419, allocations: 0 / 0.754 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.584e-05/0.442, allocations: 16 kB / 0.754 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.4423, allocations: 8.688 kB / 0.754 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.4428, allocations: 109.5 kB / 0.7541 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.4431, allocations: 0.6885 MB / 0.7548 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.098e-05/0.4432, allocations: 4 kB / 0.7548 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.4433, allocations: 15.42 kB / 0.7548 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of SimCode: time 8.41e-07/0.4433, allocations: 4 kB / 0.7548 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03429/0.4776, allocations: 1.184 MB / 0.756 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003388/0.478, allocations: 159.3 kB / 0.7561 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/2.744, allocations: 0 / 0.7561 GB, free: 6.238 MB / 0.6355 GB