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.Integers.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.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_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.01021/0.01021, allocations: 92.88 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.001208/0.001208, allocations: 173.3 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.181/2.181, allocations: 205.5 MB / 222.2 MB, free: 13.58 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.389/2.389, allocations: 252.8 MB / 0.511 GB, free: 8.281 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004818, allocations: 10.75 kB / 0.6243 GB, free: 21.1 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2159, allocations: 106.2 MB / 0.7281 GB, free: 8.043 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001981/0.218, allocations: 1.116 MB / 0.7292 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004416/0.2184, allocations: 136.5 kB / 0.7293 GB, free: 6.777 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.2185, allocations: 0 / 0.7293 GB, free: 6.777 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.097e-05/0.2185, allocations: 3.938 kB / 0.7293 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.059e-05/0.2186, allocations: 11.98 kB / 0.7293 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.2188, allocations: 19.91 kB / 0.7293 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.176e-05/0.2189, allocations: 27.91 kB / 0.7294 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.219, allocations: 8 kB / 0.7294 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.515e-05/0.2191, allocations: 15.98 kB / 0.7294 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.326e-05/0.2192, allocations: 27.89 kB / 0.7294 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.2192, allocations: 0 / 0.7294 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.646e-05/0.2192, allocations: 4 kB / 0.7294 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.2192, allocations: 7.938 kB / 0.7294 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.2193, allocations: 29.7 kB / 0.7294 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 7.488e-05/0.2194, allocations: 31.92 kB / 0.7295 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2194, allocations: 0 / 0.7295 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2194, allocations: 0 / 0.7295 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2194, allocations: 0 / 0.7295 GB, free: 6.586 MB / 0.5573 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.0006163/0.22, allocations: 355.5 kB / 0.7298 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.2201, allocations: 12.03 kB / 0.7298 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.768e-05/0.2201, allocations: 34.56 kB / 0.7299 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.2202, allocations: 7.953 kB / 0.7299 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.2204, allocations: 170.9 kB / 0.73 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.2204, allocations: 0 / 0.73 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.2204, allocations: 4 kB / 0.73 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.2207, allocations: 77.62 kB / 0.7301 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.2207, allocations: 4 kB / 0.7301 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.2208, allocations: 4 kB / 0.7301 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.2208, allocations: 0 / 0.7301 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.2211, allocations: 67.84 kB / 0.7302 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005652/0.2217, allocations: 296.8 kB / 0.7305 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/0.2221, allocations: 66.53 kB / 0.7305 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.2221, allocations: 0 / 0.7305 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.2222, allocations: 38.59 kB / 0.7306 GB, free: 5.301 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.724e-06/0.2222, allocations: 0 / 0.7306 GB, free: 5.301 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4): time 0.0006779/0.2229, allocations: 129.6 kB / 0.7307 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.2229, allocations: 55.41 kB / 0.7307 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.223, allocations: 113.8 kB / 0.7309 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.2231, allocations: 25.7 kB / 0.7309 GB, free: 4.949 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.2231, allocations: 92.06 kB / 0.731 GB, free: 4.855 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.2232, allocations: 7.906 kB / 0.731 GB, free: 4.848 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-06/0.2232, allocations: 4 kB / 0.731 GB, free: 4.844 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.2233, allocations: 310.8 kB / 0.7313 GB, free: 4.531 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.2235, allocations: 31.97 kB / 0.7313 GB, free: 4.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.2237, allocations: 27.98 kB / 0.7313 GB, free: 4.473 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.2239, allocations: 27.97 kB / 0.7314 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2239, allocations: 0 / 0.7314 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004214/0.2243, allocations: 105.5 kB / 0.7315 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2244, allocations: 8 kB / 0.7315 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2244, allocations: 0 / 0.7315 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2244, allocations: 3.953 kB / 0.7315 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.2246, allocations: 11.98 kB / 0.7315 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2246, allocations: 4 kB / 0.7315 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.2247, allocations: 11.98 kB / 0.7315 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.2248, allocations: 4 kB / 0.7315 GB, free: 4.293 MB / 0.5573 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 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked 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 9.503e-05/0.2249, allocations: 109.8 kB / 0.7316 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.2249, allocations: 4 kB / 0.7316 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.225, allocations: 7.906 kB / 0.7316 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.225, allocations: 0 / 0.7316 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.225, allocations: 3.953 kB / 0.7316 GB, free: 4.152 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.225, allocations: 4 kB / 0.7316 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.2252, allocations: 181.6 kB / 0.7318 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2253, allocations: 3.938 kB / 0.7318 GB, free: 3.918 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.2254, allocations: 15.98 kB / 0.7318 GB, free: 3.902 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.2254, allocations: 0 / 0.7318 GB, free: 3.902 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.2255, allocations: 3.938 kB / 0.7318 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2255, allocations: 0 / 0.7318 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2255, allocations: 0 / 0.7318 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.2259, allocations: 195.5 kB / 0.732 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.226, allocations: 85.03 kB / 0.7321 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.226, allocations: 0 / 0.7321 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.2262, allocations: 19.98 kB / 0.7321 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.19e-05/0.2263, allocations: 8.359 kB / 0.7321 GB, free: 3.562 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.2263, allocations: 0 / 0.7321 GB, free: 3.562 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.085e-05/0.2264, allocations: 91.55 kB / 0.7322 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2264, allocations: 0 / 0.7322 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002953/0.2267, allocations: 11.91 kB / 0.7322 GB, free: 3.461 MB / 0.5573 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 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked 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.0007754/0.2275, allocations: 0.7365 MB / 0.7329 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004078/0.2279, allocations: 63.95 kB / 0.733 GB, free: 2.637 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2279, allocations: 3.938 kB / 0.733 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.2282, allocations: 35.91 kB / 0.733 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.2284, allocations: 8 kB / 0.733 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.2298, allocations: 490.3 kB / 0.7335 GB, free: 2.066 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.2301, allocations: 0.6887 MB / 0.7342 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.06e-05/0.2302, allocations: 4 kB / 0.7342 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.316e-05/0.2303, allocations: 15.44 kB / 0.7342 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of SimCode: time 5.91e-07/0.2303, allocations: 0 / 0.7342 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.2534, allocations: 1.519 MB / 0.7357 GB, free: 15.92 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003029/0.2537, allocations: 198.4 kB / 0.7359 GB, free: 15.68 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/2.496, allocations: 0 / 0.7359 GB, free: 15.68 MB / 0.573 GB