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.LessEqualThreshold.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.LessEqualThreshold,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.01023/0.01024, allocations: 87.7 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.001227/0.001227, allocations: 171.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.086/2.086, allocations: 205.5 MB / 222.2 MB, free: 13.74 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.582/2.582, allocations: 252.8 MB / 0.511 GB, free: 8.363 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0006589/0.0006591, allocations: 13.81 kB / 0.6243 GB, free: 28.36 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2444, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002/0.2464, allocations: 1.116 MB / 0.7292 GB, free: 9.043 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.0004532/0.2469, allocations: 140.5 kB / 0.7293 GB, free: 8.902 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.247, allocations: 0 / 0.7293 GB, free: 8.902 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.247, allocations: 3.938 kB / 0.7293 GB, free: 8.898 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 8.685e-05/0.2471, allocations: 3.984 kB / 0.7293 GB, free: 8.895 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.2473, allocations: 31.84 kB / 0.7293 GB, free: 8.863 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 8.196e-05/0.2474, allocations: 27.91 kB / 0.7294 GB, free: 8.836 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2475, allocations: 8 kB / 0.7294 GB, free: 8.828 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 7.093e-05/0.2476, allocations: 11.98 kB / 0.7294 GB, free: 8.816 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 8.279e-05/0.2477, allocations: 27.89 kB / 0.7294 GB, free: 8.789 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.2477, allocations: 0 / 0.7294 GB, free: 8.789 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 1.62e-05/0.2477, allocations: 4 kB / 0.7294 GB, free: 8.785 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.2478, allocations: 7.938 kB / 0.7294 GB, free: 8.777 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.2478, allocations: 29.7 kB / 0.7295 GB, free: 8.742 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 8.846e-05/0.2479, allocations: 35.92 kB / 0.7295 GB, free: 8.707 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2479, allocations: 0 / 0.7295 GB, free: 8.707 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.733e-06/0.248, allocations: 4 kB / 0.7295 GB, free: 8.703 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.248, allocations: 0 / 0.7295 GB, free: 8.703 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006499/0.2486, allocations: 347.5 kB / 0.7298 GB, free: 8.316 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.2487, allocations: 8.031 kB / 0.7298 GB, free: 8.309 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.72e-05/0.2487, allocations: 34.55 kB / 0.7299 GB, free: 8.266 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.2488, allocations: 11.95 kB / 0.7299 GB, free: 8.254 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.249, allocations: 170.9 kB / 0.73 GB, free: 8.047 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.249, allocations: 4 kB / 0.73 GB, free: 8.043 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.249, allocations: 4 kB / 0.73 GB, free: 8.039 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.2493, allocations: 77.61 kB / 0.7301 GB, free: 7.957 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.2494, allocations: 0 / 0.7301 GB, free: 7.957 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2494, allocations: 4 kB / 0.7301 GB, free: 7.953 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2494, allocations: 0 / 0.7301 GB, free: 7.953 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003782/0.2498, allocations: 71.89 kB / 0.7302 GB, free: 7.883 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005634/0.2504, allocations: 284.7 kB / 0.7305 GB, free: 7.555 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.2507, allocations: 74.53 kB / 0.7305 GB, free: 7.473 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.2507, allocations: 0 / 0.7305 GB, free: 7.473 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.2508, allocations: 34.56 kB / 0.7306 GB, free: 7.43 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.2508, allocations: 0 / 0.7306 GB, free: 7.43 MB / 0.5574 GB Notification: Performance of matching and sorting (n=4): time 0.0007005/0.2515, allocations: 133.6 kB / 0.7307 GB, free: 7.293 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.2516, allocations: 51.41 kB / 0.7307 GB, free: 7.23 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.2517, allocations: 113.8 kB / 0.7309 GB, free: 7.109 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 5.158e-05/0.2518, allocations: 29.7 kB / 0.7309 GB, free: 7.074 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/0.2519, allocations: 84.14 kB / 0.731 GB, free: 6.988 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.2519, allocations: 11.89 kB / 0.731 GB, free: 6.977 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.2519, allocations: 0 / 0.731 GB, free: 6.977 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2521, allocations: 314.8 kB / 0.7313 GB, free: 6.66 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.2523, allocations: 27.98 kB / 0.7313 GB, free: 6.633 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.2525, allocations: 31.97 kB / 0.7313 GB, free: 6.602 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.2527, allocations: 31.97 kB / 0.7314 GB, free: 6.57 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2527, allocations: 0 / 0.7314 GB, free: 6.57 MB / 0.5574 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004305/0.2531, allocations: 101.4 kB / 0.7315 GB, free: 6.465 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.2532, allocations: 4 kB / 0.7315 GB, free: 6.461 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2532, allocations: 0 / 0.7315 GB, free: 6.461 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.2532, allocations: 3.953 kB / 0.7315 GB, free: 6.457 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.2534, allocations: 15.98 kB / 0.7315 GB, free: 6.441 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.2534, allocations: 0 / 0.7315 GB, free: 6.441 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.2536, allocations: 15.98 kB / 0.7315 GB, free: 6.426 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.2536, allocations: 4 kB / 0.7315 GB, free: 6.422 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: 2 (intLesEquThr.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 0.0001084/0.2537, allocations: 113.8 kB / 0.7316 GB, free: 6.301 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.2538, allocations: 0 / 0.7316 GB, free: 6.301 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.2538, allocations: 11.91 kB / 0.7316 GB, free: 6.281 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2538, allocations: 0 / 0.7316 GB, free: 6.281 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.2538, allocations: 3.953 kB / 0.7316 GB, free: 6.277 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2539, allocations: 0 / 0.7316 GB, free: 6.277 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.2541, allocations: 181.6 kB / 0.7318 GB, free: 6.051 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.2541, allocations: 4 kB / 0.7318 GB, free: 6.047 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.2543, allocations: 20.19 kB / 0.7318 GB, free: 6.027 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.2543, allocations: 0 / 0.7318 GB, free: 6.027 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.2543, allocations: 0 / 0.7318 GB, free: 6.027 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2543, allocations: 4 kB / 0.7318 GB, free: 6.023 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2543, allocations: 0 / 0.7318 GB, free: 6.023 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004828/0.2548, allocations: 199.4 kB / 0.732 GB, free: 5.812 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.2549, allocations: 85.05 kB / 0.7321 GB, free: 5.711 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.2549, allocations: 4 kB / 0.7321 GB, free: 5.707 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.2551, allocations: 7.984 kB / 0.7321 GB, free: 5.699 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.2552, allocations: 11.98 kB / 0.7321 GB, free: 5.688 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.2552, allocations: 8 kB / 0.7321 GB, free: 5.68 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 5.989e-05/0.2553, allocations: 87.22 kB / 0.7322 GB, free: 5.594 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2553, allocations: 0 / 0.7322 GB, free: 5.594 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0003132/0.2556, allocations: 15.91 kB / 0.7322 GB, free: 5.578 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: 2 (intLesEquThr.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.0008333/0.2565, allocations: 0.7248 MB / 0.7329 GB, free: 4.828 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0004269/0.2569, allocations: 67.94 kB / 0.733 GB, free: 4.762 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2569, allocations: 0 / 0.733 GB, free: 4.762 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.2572, allocations: 39.92 kB / 0.733 GB, free: 4.723 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.2574, allocations: 3.984 kB / 0.733 GB, free: 4.719 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.2589, allocations: 490.3 kB / 0.7335 GB, free: 4.195 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.2592, allocations: 0.6848 MB / 0.7342 GB, free: 3.484 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 7.112e-05/0.2593, allocations: 4 kB / 0.7342 GB, free: 3.48 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.605e-05/0.2594, allocations: 19.42 kB / 0.7342 GB, free: 3.461 MB / 0.5574 GB Notification: Performance of SimCode: time 7.31e-07/0.2594, allocations: 0 / 0.7342 GB, free: 3.461 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.2827, allocations: 1.515 MB / 0.7357 GB, free: 2.059 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002906/0.2831, allocations: 195.1 kB / 0.7359 GB, free: 1.824 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/2.625, allocations: 7.938 kB / 0.7359 GB, free: 1.816 MB / 0.5574 GB