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.Continuous.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.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.142/4.142, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.045e-05/3.056e-05, allocations: 8.281 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2582, allocations: 98.74 MB / 0.6289 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2344/0.4927, allocations: 123.5 MB / 0.7495 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.493, allocations: 71.95 kB / 0.7496 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002252/0.4953, allocations: 0.6334 MB / 0.7502 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4953, allocations: 0 / 0.7502 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.4954, allocations: 0 / 0.7502 GB, free: 12.76 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005086/0.4959, allocations: 342.5 kB / 0.7505 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.4959, allocations: 12.03 kB / 0.7506 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.496, allocations: 3.953 kB / 0.7506 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.4961, allocations: 163.1 kB / 0.7507 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.4962, allocations: 4 kB / 0.7507 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.4962, allocations: 0 / 0.7507 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.193e-05/0.4963, allocations: 11.94 kB / 0.7507 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.983e-05/0.4964, allocations: 33.64 kB / 0.7508 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.4964, allocations: 8 kB / 0.7508 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4964, allocations: 0 / 0.7508 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.4964, allocations: 0 / 0.7508 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.497, allocations: 249.4 kB / 0.751 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.432e-05/0.497, allocations: 26.58 kB / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.4971, allocations: 12.92 kB / 0.751 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.4971, allocations: 3.938 kB / 0.751 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.4972, allocations: 30.56 kB / 0.7511 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.284e-06/0.4972, allocations: 0 / 0.7511 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001619/0.4973, allocations: 37.7 kB / 0.7511 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.4974, allocations: 55.41 kB / 0.7512 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.475e-05/0.4975, allocations: 101 kB / 0.7513 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.4975, allocations: 25.7 kB / 0.7513 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.4976, allocations: 80.14 kB / 0.7514 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.4976, allocations: 3.906 kB / 0.7514 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.4976, allocations: 4 kB / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4978, allocations: 318.8 kB / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.24e-05/0.4978, allocations: 7.938 kB / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.146e-05/0.4978, allocations: 4 kB / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.4979, allocations: 8.047 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4979, allocations: 4 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.475e-05/0.498, allocations: 41.64 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.498, allocations: 8 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.498, allocations: 256 / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.4981, allocations: 0 / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.4982, allocations: 15.98 kB / 0.7518 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.4982, allocations: 0 / 0.7518 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.4984, allocations: 16.02 kB / 0.7518 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.4984, allocations: 0 / 0.7518 GB, free: 10.96 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: 1 (greThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.254e-05/0.4985, allocations: 104.9 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.734e-05/0.4986, allocations: 41.7 kB / 0.7519 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.4986, allocations: 3.906 kB / 0.7519 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.4986, allocations: 3.75 kB / 0.7519 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.4987, allocations: 3.938 kB / 0.7519 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4987, allocations: 0 / 0.7519 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.4987, allocations: 15.97 kB / 0.7519 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.4989, allocations: 134.2 kB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4989, allocations: 0 / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.219e-05/0.499, allocations: 7.984 kB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.499, allocations: 4 kB / 0.7521 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.499, allocations: 0 / 0.7521 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.499, allocations: 3.938 kB / 0.7521 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.4991, allocations: 0 / 0.7521 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.4992, allocations: 135.5 kB / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.4993, allocations: 89.08 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.4993, allocations: 0 / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.4994, allocations: 8 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.4995, allocations: 3.984 kB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.4995, allocations: 4 kB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.747e-05/0.4996, allocations: 79.28 kB / 0.7524 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4996, allocations: 4.031 kB / 0.7524 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002955/0.4999, allocations: 7.938 kB / 0.7524 GB, free: 10.24 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: 1 (greThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000543/0.5004, allocations: 0.6786 MB / 0.7531 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.909e-05/0.5005, allocations: 15.94 kB / 0.7531 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5006, allocations: 4.094 kB / 0.7531 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.245e-05/0.5006, allocations: 8 kB / 0.7531 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.5009, allocations: 0 / 0.7531 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/0.5013, allocations: 93.5 kB / 0.7532 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.5016, allocations: 0.6806 MB / 0.7538 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.594e-05/0.5016, allocations: 4 kB / 0.7538 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.5017, allocations: 11.44 kB / 0.7539 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/0.5017, allocations: 4.062 kB / 0.7539 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/0.5359, allocations: 0.7465 MB / 0.7546 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003272/0.5363, allocations: 156.9 kB / 0.7547 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/2.901, allocations: 3.938 kB / 0.7547 GB, free: 7.719 MB / 0.6355 GB