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.LessThreshold.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01132/0.01132, allocations: 107.8 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001266/0.001266, allocations: 179.9 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.098/2.098, allocations: 194.6 MB / 211.3 MB, free: 11.11 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.313/2.313, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000503/0.0005031, allocations: 12 kB / 0.587 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6666/0.6672, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.001785/0.669, allocations: 1.073 MB / 0.6845 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003322/0.6694, allocations: 103.2 kB / 0.6846 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.226e-05/0.6694, allocations: 1.125 kB / 0.6846 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.6695, allocations: 4.656 kB / 0.6846 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.302e-05/0.6696, allocations: 5.078 kB / 0.6846 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 5.076e-05/0.6696, allocations: 7.125 kB / 0.6846 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.01e-05/0.6697, allocations: 14.22 kB / 0.6846 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/0.6698, allocations: 6.562 kB / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.388e-05/0.6699, allocations: 9.484 kB / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.527e-05/0.6699, allocations: 9.766 kB / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.6699, allocations: 1.219 kB / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 8.455e-06/0.67, allocations: 1.188 kB / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.67, allocations: 13.69 kB / 0.6847 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.67, allocations: 27.45 kB / 0.6847 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 6.398e-05/0.6701, allocations: 12.23 kB / 0.6847 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.6701, allocations: 0 / 0.6847 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6701, allocations: 1.094 kB / 0.6847 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.6701, allocations: 0 / 0.6847 GB, free: 15.88 MB / 0.5261 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.0004619/0.6706, allocations: 340.3 kB / 0.685 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.6707, allocations: 13.28 kB / 0.685 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.6707, allocations: 32.66 kB / 0.6851 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.6707, allocations: 5.406 kB / 0.6851 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.486e-05/0.6708, allocations: 173.6 kB / 0.6852 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.6709, allocations: 0 / 0.6852 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.6709, allocations: 5.5 kB / 0.6852 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.6711, allocations: 54 kB / 0.6853 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.6712, allocations: 4 kB / 0.6853 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.6712, allocations: 5.312 kB / 0.6853 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.6712, allocations: 0 / 0.6853 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.6715, allocations: 41.58 kB / 0.6853 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.6719, allocations: 259 kB / 0.6856 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.6721, allocations: 45.44 kB / 0.6856 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.998e-06/0.6721, allocations: 0 / 0.6856 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.6722, allocations: 32.8 kB / 0.6857 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.124e-06/0.6722, allocations: 4 kB / 0.6857 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0005401/0.6727, allocations: 98.03 kB / 0.6858 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.6728, allocations: 61.06 kB / 0.6858 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.425e-05/0.6729, allocations: 105.3 kB / 0.6859 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.6729, allocations: 26.83 kB / 0.6859 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.6729, allocations: 86.5 kB / 0.686 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.673, allocations: 1.625 kB / 0.686 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.673, allocations: 0 / 0.686 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.673, allocations: 315.9 kB / 0.6863 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.6732, allocations: 23.69 kB / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.6733, allocations: 22.39 kB / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.6735, allocations: 19.7 kB / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6735, allocations: 0 / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003404/0.6739, allocations: 80.02 kB / 0.6865 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.6739, allocations: 6.438 kB / 0.6865 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6739, allocations: 5.297 kB / 0.6865 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.674, allocations: 0 / 0.6865 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.6741, allocations: 22.44 kB / 0.6865 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.6741, allocations: 0.6094 kB / 0.6865 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.388e-05/0.6742, allocations: 13.89 kB / 0.6865 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.6742, allocations: 5.188 kB / 0.6865 GB, free: 14.14 MB / 0.5261 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 (lesThr.y) * Number of discrete states: 0 () * Number of clocked 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 7.741e-05/0.6743, allocations: 108.2 kB / 0.6866 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.6744, allocations: 1.344 kB / 0.6866 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.397e-05/0.6744, allocations: 8.984 kB / 0.6866 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.6744, allocations: 4.656 kB / 0.6866 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.6744, allocations: 1.344 kB / 0.6866 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.6744, allocations: 0 / 0.6866 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.6747, allocations: 165.1 kB / 0.6868 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.6747, allocations: 0 / 0.6868 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.6749, allocations: 10.45 kB / 0.6868 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.6749, allocations: 0 / 0.6868 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.6749, allocations: 0.6562 kB / 0.6868 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.6749, allocations: 1.438 kB / 0.6868 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.675, allocations: 256 / 0.6868 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005699/0.6756, allocations: 175.8 kB / 0.687 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.6756, allocations: 87.08 kB / 0.6871 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.6757, allocations: 12.58 kB / 0.6871 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.6759, allocations: 10.91 kB / 0.6871 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.676, allocations: 3.281 kB / 0.6871 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.676, allocations: 0 / 0.6871 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.945e-05/0.676, allocations: 85.33 kB / 0.6872 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.5e-07/0.6761, allocations: 0 / 0.6872 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005456/0.6766, allocations: 3.438 kB / 0.6872 GB, free: 13.49 MB / 0.5261 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 (lesThr.y) * Number of discrete states: 0 () * Number of clocked 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.001041/0.6777, allocations: 0.7086 MB / 0.6879 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000567/0.6783, allocations: 53.8 kB / 0.6879 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.6784, allocations: 0 / 0.6879 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.6786, allocations: 25.34 kB / 0.6879 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004933/0.6792, allocations: 6.969 kB / 0.6879 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008225/0.68, allocations: 139.5 kB / 0.6881 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.6802, allocations: 0.6796 MB / 0.6887 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.537e-05/0.6803, allocations: 0 / 0.6887 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.834e-05/0.6804, allocations: 9.422 kB / 0.6888 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/0.6804, allocations: 4.062 kB / 0.6888 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.7027, allocations: 1.062 MB / 0.6898 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/0.703, allocations: 197.6 kB / 0.69 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.57/3.273, allocations: 0 / 0.69 GB, free: 11.52 MB / 0.5261 GB