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.LessEqualThreshold.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.LessEqualThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.276/4.276, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.109e-05/3.107e-05, allocations: 8.812 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2299, allocations: 98.74 MB / 0.6289 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2313/0.4613, allocations: 123.5 MB / 0.7495 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.4616, allocations: 67.95 kB / 0.7496 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002133/0.4638, allocations: 0.61 MB / 0.7502 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4638, allocations: 4 kB / 0.7502 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.4639, allocations: 0 / 0.7502 GB, free: 12.71 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.0004287/0.4643, allocations: 338.5 kB / 0.7505 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.4644, allocations: 12.03 kB / 0.7505 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.4644, allocations: 3.953 kB / 0.7505 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.4646, allocations: 163.1 kB / 0.7507 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.4646, allocations: 8 kB / 0.7507 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.4646, allocations: 0 / 0.7507 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.175e-05/0.4647, allocations: 11.94 kB / 0.7507 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.123e-05/0.4648, allocations: 33.7 kB / 0.7507 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.4648, allocations: 0 / 0.7507 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.4648, allocations: 0 / 0.7507 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4648, allocations: 0 / 0.7507 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.4653, allocations: 257.3 kB / 0.751 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.829e-05/0.4654, allocations: 22.58 kB / 0.751 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.4655, allocations: 16.91 kB / 0.751 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.4655, allocations: 0 / 0.751 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.4655, allocations: 34.5 kB / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.4655, allocations: 0 / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001633/0.4657, allocations: 41.7 kB / 0.7511 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.4658, allocations: 55.41 kB / 0.7512 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.202e-05/0.4659, allocations: 92.98 kB / 0.7512 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.4659, allocations: 25.7 kB / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.466, allocations: 84.14 kB / 0.7513 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.466, allocations: 7.906 kB / 0.7514 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-06/0.466, allocations: 0 / 0.7514 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4661, allocations: 318.7 kB / 0.7517 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.4662, allocations: 12.03 kB / 0.7517 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.95e-05/0.4662, allocations: 0 / 0.7517 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.918e-05/0.4663, allocations: 11.98 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.4663, allocations: 0 / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001059/0.4664, allocations: 37.64 kB / 0.7517 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.4664, allocations: 8.625 kB / 0.7517 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4664, allocations: 0 / 0.7517 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.4665, allocations: 0 / 0.7517 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.4666, allocations: 16.33 kB / 0.7517 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.4666, allocations: 0 / 0.7517 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.708e-05/0.4668, allocations: 15.98 kB / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.4668, allocations: 4 kB / 0.7518 GB, free: 10.91 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 (lesEquThr.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.384e-05/0.4669, allocations: 106.3 kB / 0.7519 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.64e-05/0.467, allocations: 33.7 kB / 0.7519 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.467, allocations: 7.906 kB / 0.7519 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.4671, allocations: 11.78 kB / 0.7519 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.4671, allocations: 0 / 0.7519 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4671, allocations: 0 / 0.7519 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4671, allocations: 3.953 kB / 0.7519 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.4673, allocations: 142.2 kB / 0.752 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4673, allocations: 3.938 kB / 0.7521 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.4674, allocations: 11.98 kB / 0.7521 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4674, allocations: 0 / 0.7521 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.4675, allocations: 4 kB / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4675, allocations: 0 / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.4675, allocations: 4 kB / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.4677, allocations: 131.5 kB / 0.7522 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.144e-05/0.4678, allocations: 81.11 kB / 0.7523 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.4678, allocations: 7.922 kB / 0.7523 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.4679, allocations: 4 kB / 0.7523 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.468, allocations: 12.02 kB / 0.7523 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.468, allocations: 0 / 0.7523 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.435e-05/0.4681, allocations: 83.28 kB / 0.7524 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.6e-07/0.4681, allocations: 0 / 0.7524 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002981/0.4684, allocations: 7.938 kB / 0.7524 GB, free: 10.18 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 (lesEquThr.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.0005033/0.4689, allocations: 0.6811 MB / 0.753 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.469, allocations: 12 kB / 0.7531 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.469, allocations: 0 / 0.7531 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.4691, allocations: 8 kB / 0.7531 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.4694, allocations: 4 kB / 0.7531 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.4698, allocations: 89.5 kB / 0.7532 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.4702, allocations: 0.6847 MB / 0.7538 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.165e-05/0.4703, allocations: 0 / 0.7538 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.4704, allocations: 11.42 kB / 0.7538 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/0.4704, allocations: 0 / 0.7538 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0346/0.505, allocations: 0.7483 MB / 0.7546 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003209/0.5054, allocations: 163.2 kB / 0.7547 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.252/2.757, allocations: 0 / 0.7547 GB, free: 7.676 MB / 0.6355 GB