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.Min.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.Min,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.01034/0.01034, allocations: 88.36 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.001269/0.001269, allocations: 173.8 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.122/2.122, 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.33/2.33, allocations: 252.8 MB / 0.511 GB, free: 8.371 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004636, allocations: 16.78 kB / 0.6243 GB, free: 28.26 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.216, allocations: 106.2 MB / 0.7281 GB, free: 10.2 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001954/0.218, allocations: 1.178 MB / 0.7292 GB, free: 9.004 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.0004874/0.2186, allocations: 173.1 kB / 0.7294 GB, free: 8.832 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.482e-05/0.2186, allocations: 4 kB / 0.7294 GB, free: 8.828 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/0.2187, allocations: 7.938 kB / 0.7294 GB, free: 8.82 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 9.21e-05/0.2188, allocations: 7.969 kB / 0.7294 GB, free: 8.812 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.2189, allocations: 31.91 kB / 0.7294 GB, free: 8.781 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.2191, allocations: 47.88 kB / 0.7295 GB, free: 8.734 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.2192, allocations: 27.91 kB / 0.7295 GB, free: 8.707 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 8.62e-05/0.2193, allocations: 27.92 kB / 0.7295 GB, free: 8.68 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.2194, allocations: 47.81 kB / 0.7296 GB, free: 8.633 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.2194, allocations: 4 kB / 0.7296 GB, free: 8.629 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 2.218e-05/0.2195, allocations: 4 kB / 0.7296 GB, free: 8.625 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 2.796e-05/0.2195, allocations: 15.91 kB / 0.7296 GB, free: 8.609 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.2196, allocations: 33.7 kB / 0.7296 GB, free: 8.57 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.2197, allocations: 55.86 kB / 0.7297 GB, free: 8.516 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.2197, allocations: 3.938 kB / 0.7297 GB, free: 8.512 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2197, allocations: 0 / 0.7297 GB, free: 8.512 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2197, allocations: 0 / 0.7297 GB, free: 8.512 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007856/0.2205, allocations: 395.3 kB / 0.7301 GB, free: 8.078 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.2206, allocations: 8.031 kB / 0.7301 GB, free: 8.07 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.883e-05/0.2206, allocations: 38.55 kB / 0.7301 GB, free: 8.023 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.2207, allocations: 11.86 kB / 0.7301 GB, free: 8.012 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.2208, allocations: 171 kB / 0.7303 GB, free: 7.805 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.2209, allocations: 8 kB / 0.7303 GB, free: 7.797 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.2209, allocations: 8 kB / 0.7303 GB, free: 7.789 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.2214, allocations: 117.6 kB / 0.7304 GB, free: 7.668 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2214, allocations: 3.938 kB / 0.7304 GB, free: 7.664 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.2215, allocations: 7.938 kB / 0.7304 GB, free: 7.656 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.2215, allocations: 4 kB / 0.7304 GB, free: 7.652 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006905/0.2222, allocations: 123.8 kB / 0.7306 GB, free: 7.531 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007114/0.2229, allocations: 336.7 kB / 0.7309 GB, free: 7.152 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.224, allocations: 130.5 kB / 0.731 GB, free: 7.016 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.2241, allocations: 8 kB / 0.731 GB, free: 7.008 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.2241, allocations: 34.52 kB / 0.731 GB, free: 6.965 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=7): time 3.817e-06/0.2241, allocations: 0 / 0.731 GB, free: 6.965 MB / 0.5574 GB Notification: Performance of matching and sorting (n=7): time 0.001202/0.2253, allocations: 229.5 kB / 0.7313 GB, free: 6.734 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.2254, allocations: 51.41 kB / 0.7313 GB, free: 6.672 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.2255, allocations: 125.8 kB / 0.7314 GB, free: 6.539 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.2256, allocations: 25.7 kB / 0.7315 GB, free: 6.508 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.2256, allocations: 100 kB / 0.7315 GB, free: 6.406 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.2257, allocations: 15.75 kB / 0.7316 GB, free: 6.391 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.2257, allocations: 8 kB / 0.7316 GB, free: 6.383 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.2258, allocations: 314.8 kB / 0.7319 GB, free: 6.066 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.2262, allocations: 51.95 kB / 0.7319 GB, free: 6.016 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/0.2265, allocations: 63.95 kB / 0.732 GB, free: 5.953 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.2269, allocations: 47.97 kB / 0.732 GB, free: 5.906 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2269, allocations: 4 kB / 0.732 GB, free: 5.902 MB / 0.5574 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007652/0.2277, allocations: 165.5 kB / 0.7322 GB, free: 5.734 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.2277, allocations: 11.08 kB / 0.7322 GB, free: 5.727 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2277, allocations: 3.938 kB / 0.7322 GB, free: 5.723 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2277, allocations: 0 / 0.7322 GB, free: 5.723 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.2281, allocations: 31.97 kB / 0.7322 GB, free: 5.691 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2281, allocations: 0 / 0.7322 GB, free: 5.691 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.2283, allocations: 23.97 kB / 0.7323 GB, free: 5.668 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.2283, allocations: 3.984 kB / 0.7323 GB, free: 5.664 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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000115/0.2285, allocations: 113.8 kB / 0.7324 GB, free: 5.543 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.2285, allocations: 7.906 kB / 0.7324 GB, free: 5.535 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008485/0.2294, allocations: 173.8 kB / 0.7325 GB, free: 5.359 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.2294, allocations: 7.984 kB / 0.7325 GB, free: 5.352 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.2294, allocations: 4 kB / 0.7326 GB, free: 5.348 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2294, allocations: 4 kB / 0.7326 GB, free: 5.344 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.2297, allocations: 201.5 kB / 0.7327 GB, free: 5.098 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2298, allocations: 0 / 0.7327 GB, free: 5.098 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.2301, allocations: 31.97 kB / 0.7328 GB, free: 5.066 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/0.2301, allocations: 7.922 kB / 0.7328 GB, free: 5.059 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.2301, allocations: 0 / 0.7328 GB, free: 5.059 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.2301, allocations: 3.953 kB / 0.7328 GB, free: 5.055 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2301, allocations: 0 / 0.7328 GB, free: 5.055 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008565/0.231, allocations: 255.4 kB / 0.733 GB, free: 4.789 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.2311, allocations: 92.95 kB / 0.7331 GB, free: 4.68 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.2311, allocations: 3.938 kB / 0.7331 GB, free: 4.676 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.2314, allocations: 15.98 kB / 0.7331 GB, free: 4.66 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.2315, allocations: 27.92 kB / 0.7332 GB, free: 4.633 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.2316, allocations: 3.984 kB / 0.7332 GB, free: 4.629 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 7.692e-05/0.2316, allocations: 99.27 kB / 0.7333 GB, free: 4.531 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2316, allocations: 0 / 0.7333 GB, free: 4.531 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0003279/0.232, allocations: 12 kB / 0.7333 GB, free: 4.52 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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001127/0.2331, allocations: 0.7833 MB / 0.734 GB, free: 3.711 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0007749/0.2339, allocations: 135.8 kB / 0.7342 GB, free: 3.578 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.2339, allocations: 4 kB / 0.7342 GB, free: 3.574 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0003889/0.2343, allocations: 72.17 kB / 0.7342 GB, free: 3.504 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.2347, allocations: 7.953 kB / 0.7343 GB, free: 3.496 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.2368, allocations: 0.6556 MB / 0.7349 GB, free: 2.785 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.2371, allocations: 0.6926 MB / 0.7356 GB, free: 2.066 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0001419/0.2372, allocations: 16.17 kB / 0.7356 GB, free: 2.047 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.2374, allocations: 23.42 kB / 0.7356 GB, free: 2.023 MB / 0.5574 GB Notification: Performance of SimCode: time 1.694e-06/0.2374, allocations: 0 / 0.7356 GB, free: 2.023 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.2586, allocations: 2.232 MB / 0.7378 GB, free: 15.91 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002908/0.259, allocations: 182 kB / 0.738 GB, free: 15.67 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/2.571, allocations: 11.94 kB / 0.738 GB, free: 15.66 MB / 0.573 GB