Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01019/0.01019, allocations: 91.94 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001281/0.001281, allocations: 172.4 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.351/2.351, allocations: 205.5 MB / 222.2 MB, free: 13.75 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.526/2.526, allocations: 252.8 MB / 0.511 GB, free: 8.375 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0007029/0.0007034, allocations: 15.28 kB / 0.6244 GB, free: 21.14 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2903, allocations: 106.2 MB / 0.7281 GB, free: 8.156 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.002626/0.293, allocations: 1.092 MB / 0.7291 GB, free: 7.051 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.0004517/0.2935, allocations: 102.2 kB / 0.7292 GB, free: 6.949 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.2935, allocations: 4 kB / 0.7292 GB, free: 6.945 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.2936, allocations: 0 / 0.7292 GB, free: 6.945 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 8.748e-05/0.2937, allocations: 7.984 kB / 0.7293 GB, free: 6.938 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 6.018e-05/0.2938, allocations: 4 kB / 0.7293 GB, free: 6.934 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 7.035e-05/0.2938, allocations: 15.92 kB / 0.7293 GB, free: 6.918 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.294, allocations: 4 kB / 0.7293 GB, free: 6.914 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 7.587e-05/0.2941, allocations: 15.97 kB / 0.7293 GB, free: 6.898 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.2942, allocations: 7.875 kB / 0.7293 GB, free: 6.891 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.2942, allocations: 4 kB / 0.7293 GB, free: 6.887 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.2942, allocations: 4 kB / 0.7293 GB, free: 6.883 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.2943, allocations: 7.984 kB / 0.7293 GB, free: 6.875 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.2943, allocations: 25.7 kB / 0.7293 GB, free: 6.844 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 7.488e-05/0.2944, allocations: 11.97 kB / 0.7294 GB, free: 6.832 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2944, allocations: 0 / 0.7294 GB, free: 6.832 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.815e-06/0.2944, allocations: 0 / 0.7294 GB, free: 6.832 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2944, allocations: 0 / 0.7294 GB, free: 6.832 MB / 0.5574 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.0007048/0.2952, allocations: 351.6 kB / 0.7297 GB, free: 6.441 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.2952, allocations: 8.031 kB / 0.7297 GB, free: 6.434 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.591e-05/0.2953, allocations: 34.5 kB / 0.7297 GB, free: 6.391 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.2954, allocations: 3.906 kB / 0.7297 GB, free: 6.387 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.2956, allocations: 171 kB / 0.7299 GB, free: 6.18 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.2956, allocations: 3.938 kB / 0.7299 GB, free: 6.176 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2956, allocations: 0 / 0.7299 GB, free: 6.176 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.296, allocations: 57.67 kB / 0.73 GB, free: 6.113 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.296, allocations: 4 kB / 0.73 GB, free: 6.109 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.296, allocations: 4 kB / 0.73 GB, free: 6.105 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2961, allocations: 0 / 0.73 GB, free: 6.105 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004205/0.2965, allocations: 43.97 kB / 0.73 GB, free: 6.062 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.2971, allocations: 260.9 kB / 0.7303 GB, free: 5.758 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.2974, allocations: 38.56 kB / 0.7303 GB, free: 5.711 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.2974, allocations: 4.062 kB / 0.7303 GB, free: 5.707 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.2975, allocations: 38.55 kB / 0.7303 GB, free: 5.66 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=2): time 2.555e-06/0.2975, allocations: 0 / 0.7303 GB, free: 5.66 MB / 0.5574 GB Notification: Performance of matching and sorting (n=2): time 0.0008062/0.2983, allocations: 97.69 kB / 0.7304 GB, free: 5.559 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.2984, allocations: 51.41 kB / 0.7305 GB, free: 5.496 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.869e-05/0.2985, allocations: 109.8 kB / 0.7306 GB, free: 5.379 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.2985, allocations: 25.7 kB / 0.7306 GB, free: 5.348 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.2986, allocations: 80.14 kB / 0.7307 GB, free: 5.266 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.2986, allocations: 3.906 kB / 0.7307 GB, free: 5.262 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.2986, allocations: 4 kB / 0.7307 GB, free: 5.258 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2987, allocations: 318.8 kB / 0.731 GB, free: 4.938 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.2989, allocations: 20.02 kB / 0.731 GB, free: 4.918 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.299, allocations: 23.98 kB / 0.731 GB, free: 4.895 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.2992, allocations: 16.05 kB / 0.731 GB, free: 4.879 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2992, allocations: 4 kB / 0.7311 GB, free: 4.875 MB / 0.5574 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003607/0.2996, allocations: 73.66 kB / 0.7311 GB, free: 4.797 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.2996, allocations: 8 kB / 0.7311 GB, free: 4.789 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2996, allocations: 3.938 kB / 0.7311 GB, free: 4.785 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.2997, allocations: 0 / 0.7311 GB, free: 4.785 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.2998, allocations: 19.95 kB / 0.7312 GB, free: 4.766 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2998, allocations: 0 / 0.7312 GB, free: 4.766 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.2999, allocations: 19.94 kB / 0.7312 GB, free: 4.746 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.3, allocations: 0 / 0.7312 GB, free: 4.746 MB / 0.5574 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 9.176e-05/0.3001, allocations: 109.8 kB / 0.7313 GB, free: 4.629 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.3001, allocations: 3.906 kB / 0.7313 GB, free: 4.625 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.3001, allocations: 15.08 kB / 0.7313 GB, free: 4.609 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3002, allocations: 3.938 kB / 0.7313 GB, free: 4.605 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3002, allocations: 0 / 0.7313 GB, free: 4.605 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3002, allocations: 4 kB / 0.7313 GB, free: 4.602 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.3004, allocations: 161.6 kB / 0.7315 GB, free: 4.395 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3004, allocations: 0 / 0.7315 GB, free: 4.395 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.502e-05/0.3005, allocations: 11.98 kB / 0.7315 GB, free: 4.383 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.3005, allocations: 3.984 kB / 0.7315 GB, free: 4.379 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.3005, allocations: 0 / 0.7315 GB, free: 4.379 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3006, allocations: 4 kB / 0.7315 GB, free: 4.375 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3006, allocations: 0 / 0.7315 GB, free: 4.375 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.301, allocations: 171.4 kB / 0.7316 GB, free: 4.191 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.301, allocations: 85.14 kB / 0.7317 GB, free: 4.09 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.3011, allocations: 4 kB / 0.7317 GB, free: 4.086 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.3012, allocations: 12.23 kB / 0.7317 GB, free: 4.074 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.3013, allocations: 0 / 0.7317 GB, free: 4.074 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.3013, allocations: 8 kB / 0.7317 GB, free: 4.066 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 5.125e-05/0.3014, allocations: 79.27 kB / 0.7318 GB, free: 3.988 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.5e-07/0.3014, allocations: 4 kB / 0.7318 GB, free: 3.984 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0002926/0.3017, allocations: 4 kB / 0.7318 GB, free: 3.98 MB / 0.5574 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.000765/0.3024, allocations: 0.7163 MB / 0.7325 GB, free: 3.234 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0003486/0.3028, allocations: 47.91 kB / 0.7326 GB, free: 3.188 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.3028, allocations: 0 / 0.7326 GB, free: 3.188 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.303, allocations: 24.05 kB / 0.7326 GB, free: 3.164 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.3033, allocations: 15.92 kB / 0.7326 GB, free: 3.148 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.3038, allocations: 138.4 kB / 0.7327 GB, free: 2.977 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.3041, allocations: 0.6809 MB / 0.7334 GB, free: 2.27 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 3.239e-05/0.3041, allocations: 8 kB / 0.7334 GB, free: 2.262 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.3042, allocations: 11.38 kB / 0.7334 GB, free: 2.25 MB / 0.5574 GB Notification: Performance of SimCode: time 1.352e-06/0.3042, allocations: 0 / 0.7334 GB, free: 2.25 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.3251, allocations: 1.057 MB / 0.7345 GB, free: 1.293 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002975/0.3255, allocations: 199.4 kB / 0.7346 GB, free: 1.051 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/2.739, allocations: 8.062 kB / 0.7347 GB, free: 1.043 MB / 0.5574 GB