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.Max.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.Max,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Max",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.01017/0.01018, allocations: 88.83 kB / 15.04 MB, free: 6.055 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.001231/0.001231, allocations: 170.4 kB / 15.92 MB, free: 5.992 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.209/2.209, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.396/2.396, allocations: 252.8 MB / 0.511 GB, free: 8.328 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006336/0.0006337, allocations: 12.97 kB / 0.6243 GB, free: 21.19 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2195, allocations: 106.2 MB / 0.7281 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.00207/0.2216, allocations: 1.178 MB / 0.7292 GB, free: 6.922 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005085/0.2222, allocations: 177 kB / 0.7294 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.2223, allocations: 0 / 0.7294 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.2223, allocations: 7.922 kB / 0.7294 GB, free: 6.738 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.2224, allocations: 8 kB / 0.7294 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.2226, allocations: 39.89 kB / 0.7295 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.2227, allocations: 43.89 kB / 0.7295 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.2229, allocations: 27.89 kB / 0.7295 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.459e-05/0.223, allocations: 27.91 kB / 0.7296 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.2231, allocations: 43.83 kB / 0.7296 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.2231, allocations: 0 / 0.7296 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.094e-05/0.2231, allocations: 4 kB / 0.7296 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.2232, allocations: 19.92 kB / 0.7296 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.2232, allocations: 33.7 kB / 0.7296 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.2234, allocations: 63.84 kB / 0.7297 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2234, allocations: 0 / 0.7297 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2234, allocations: 3.938 kB / 0.7297 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.2234, allocations: 3.938 kB / 0.7297 GB, free: 6.418 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008287/0.2242, allocations: 391.3 kB / 0.7301 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.2243, allocations: 8.031 kB / 0.7301 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.336e-05/0.2244, allocations: 42.55 kB / 0.7301 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.2244, allocations: 11.86 kB / 0.7301 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.2246, allocations: 167 kB / 0.7303 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.2246, allocations: 8 kB / 0.7303 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.2247, allocations: 4 kB / 0.7303 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005277/0.2252, allocations: 121.6 kB / 0.7304 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2252, allocations: 3.938 kB / 0.7304 GB, free: 5.574 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.2252, allocations: 0 / 0.7304 GB, free: 5.574 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2253, allocations: 0 / 0.7304 GB, free: 5.574 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006949/0.226, allocations: 123.9 kB / 0.7306 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007413/0.2267, allocations: 344.7 kB / 0.7309 GB, free: 5.066 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.2278, allocations: 130.5 kB / 0.731 GB, free: 4.93 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.2279, allocations: 0 / 0.731 GB, free: 4.93 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.2279, allocations: 38.52 kB / 0.731 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.2279, allocations: 0 / 0.731 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.001195/0.2291, allocations: 221.5 kB / 0.7313 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.2292, allocations: 59.34 kB / 0.7313 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.2293, allocations: 121.8 kB / 0.7314 GB, free: 4.461 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.2294, allocations: 25.7 kB / 0.7315 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.2294, allocations: 92.03 kB / 0.7315 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.2295, allocations: 19.75 kB / 0.7316 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.2295, allocations: 0 / 0.7316 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2296, allocations: 322.8 kB / 0.7319 GB, free: 3.992 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/0.23, allocations: 55.95 kB / 0.7319 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.2303, allocations: 59.95 kB / 0.732 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.2307, allocations: 51.95 kB / 0.732 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2307, allocations: 0 / 0.732 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007728/0.2315, allocations: 157.5 kB / 0.7322 GB, free: 3.668 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.2315, allocations: 7.953 kB / 0.7322 GB, free: 3.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2315, allocations: 0 / 0.7322 GB, free: 3.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2316, allocations: 7.938 kB / 0.7322 GB, free: 3.652 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.2319, allocations: 27.97 kB / 0.7322 GB, free: 3.625 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2319, allocations: 3.984 kB / 0.7322 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.2322, allocations: 23.98 kB / 0.7323 GB, free: 3.598 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.2322, allocations: 0 / 0.7323 GB, free: 3.598 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: 3 (max1.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.0001143/0.2323, allocations: 117.8 kB / 0.7324 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.2324, allocations: 7.906 kB / 0.7324 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008507/0.2332, allocations: 182.4 kB / 0.7325 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2332, allocations: 0 / 0.7325 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2333, allocations: 7.938 kB / 0.7326 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2333, allocations: 0 / 0.7326 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.2336, allocations: 201.5 kB / 0.7327 GB, free: 3.027 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2336, allocations: 0 / 0.7327 GB, free: 3.027 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/0.2339, allocations: 31.97 kB / 0.7328 GB, free: 2.996 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.2339, allocations: 0 / 0.7328 GB, free: 2.996 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.2339, allocations: 11.94 kB / 0.7328 GB, free: 2.984 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.2339, allocations: 3.953 kB / 0.7328 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.234, allocations: 0 / 0.7328 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008089/0.2348, allocations: 259.4 kB / 0.733 GB, free: 2.711 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.2348, allocations: 85 kB / 0.7331 GB, free: 2.609 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.2349, allocations: 8 kB / 0.7331 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.2352, allocations: 27.91 kB / 0.7332 GB, free: 2.574 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.2353, allocations: 19.92 kB / 0.7332 GB, free: 2.555 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.2353, allocations: 4 kB / 0.7332 GB, free: 2.551 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.476e-05/0.2354, allocations: 95.27 kB / 0.7333 GB, free: 2.457 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2354, allocations: 0 / 0.7333 GB, free: 2.457 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003159/0.2357, allocations: 12 kB / 0.7333 GB, free: 2.445 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: 3 (max1.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.001109/0.2368, allocations: 0.7905 MB / 0.734 GB, free: 1.629 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007895/0.2377, allocations: 131.8 kB / 0.7342 GB, free: 1.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2377, allocations: 0 / 0.7342 GB, free: 1.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.2381, allocations: 67.95 kB / 0.7342 GB, free: 1.434 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.2384, allocations: 15.94 kB / 0.7343 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.2405, allocations: 0.6508 MB / 0.7349 GB, free: 0.7148 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.2408, allocations: 0.6965 MB / 0.7356 GB, free: 15.99 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.241, allocations: 16.11 kB / 0.7356 GB, free: 15.97 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.2411, allocations: 23.42 kB / 0.7356 GB, free: 15.95 MB / 0.573 GB Notification: Performance of SimCode: time 8.21e-07/0.2411, allocations: 4 kB / 0.7356 GB, free: 15.95 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.2629, allocations: 2.228 MB / 0.7378 GB, free: 13.82 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000305/0.2633, allocations: 185.1 kB / 0.738 GB, free: 13.58 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/2.55, allocations: 0 / 0.738 GB, free: 13.58 MB / 0.573 GB