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.Logical.Validation.OnOffController.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.Logical.Validation.OnOffController,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",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.01395/0.01395, allocations: 88.39 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.00175/0.001749, 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.235/2.235, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.441/2.441, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004751, allocations: 16.56 kB / 0.6243 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2195, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001956/0.2215, allocations: 1.132 MB / 0.7292 GB, free: 9.008 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004395/0.222, allocations: 140.5 kB / 0.7293 GB, free: 8.867 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.222, allocations: 4 kB / 0.7293 GB, free: 8.863 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.2221, allocations: 7.922 kB / 0.7293 GB, free: 8.855 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.433e-05/0.2221, allocations: 0 / 0.7293 GB, free: 8.855 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.2223, allocations: 19.91 kB / 0.7294 GB, free: 8.836 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.451e-05/0.2224, allocations: 23.97 kB / 0.7294 GB, free: 8.812 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.2225, allocations: 8 kB / 0.7294 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.489e-05/0.2226, allocations: 15.92 kB / 0.7294 GB, free: 8.789 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.056e-05/0.2226, allocations: 15.92 kB / 0.7294 GB, free: 8.773 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.2227, allocations: 4 kB / 0.7294 GB, free: 8.77 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.2227, allocations: 4 kB / 0.7294 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.2227, allocations: 15.86 kB / 0.7294 GB, free: 8.75 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.2228, allocations: 25.7 kB / 0.7295 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 8.29e-05/0.2228, allocations: 35.92 kB / 0.7295 GB, free: 8.684 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.2229, allocations: 0 / 0.7295 GB, free: 8.684 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2229, allocations: 0 / 0.7295 GB, free: 8.684 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.2229, allocations: 0 / 0.7295 GB, free: 8.684 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.0008344/0.2237, allocations: 387.5 kB / 0.7299 GB, free: 8.258 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2238, allocations: 8.031 kB / 0.7299 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.172e-05/0.2239, allocations: 34.56 kB / 0.7299 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.2239, allocations: 8 kB / 0.7299 GB, free: 8.199 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.2241, allocations: 171 kB / 0.7301 GB, free: 7.992 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.2241, allocations: 3.938 kB / 0.7301 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.2241, allocations: 4 kB / 0.7301 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.2244, allocations: 65.67 kB / 0.7301 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2244, allocations: 0 / 0.7301 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.2244, allocations: 4 kB / 0.7301 GB, free: 7.91 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2245, allocations: 4 kB / 0.7302 GB, free: 7.906 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003288/0.2248, allocations: 55.95 kB / 0.7302 GB, free: 7.852 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006795/0.2255, allocations: 312.6 kB / 0.7305 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.2259, allocations: 58.53 kB / 0.7306 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.2259, allocations: 8.062 kB / 0.7306 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.2259, allocations: 30.56 kB / 0.7306 GB, free: 7.383 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.226, allocations: 0 / 0.7306 GB, free: 7.383 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0005916/0.2266, allocations: 117.5 kB / 0.7307 GB, free: 7.262 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.2266, allocations: 55.41 kB / 0.7308 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.2267, allocations: 117.8 kB / 0.7309 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.2268, allocations: 25.7 kB / 0.7309 GB, free: 7.039 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.2268, allocations: 84.14 kB / 0.731 GB, free: 6.953 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.2269, allocations: 7.906 kB / 0.731 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.2269, allocations: 0 / 0.731 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.227, allocations: 322.8 kB / 0.7313 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.2272, allocations: 23.98 kB / 0.7313 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.2274, allocations: 28.34 kB / 0.7313 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.2275, allocations: 27.98 kB / 0.7314 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2275, allocations: 0 / 0.7314 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003967/0.2279, allocations: 93.5 kB / 0.7315 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.228, allocations: 7.938 kB / 0.7315 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.228, allocations: 0 / 0.7315 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.228, allocations: 4 kB / 0.7315 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.2281, allocations: 19.94 kB / 0.7315 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.2282, allocations: 0 / 0.7315 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.2284, allocations: 15.98 kB / 0.7315 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.2284, allocations: 0 / 0.7315 GB, free: 6.398 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 ($PRE.onOffController.y,onOffController.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.0001068/0.2285, allocations: 125.8 kB / 0.7316 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.2285, allocations: 4 kB / 0.7316 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000408/0.229, allocations: 89.48 kB / 0.7317 GB, free: 6.16 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.229, allocations: 0 / 0.7317 GB, free: 6.16 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.229, allocations: 3.953 kB / 0.7317 GB, free: 6.156 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.229, allocations: 8 kB / 0.7317 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.2292, allocations: 169.5 kB / 0.7319 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2293, allocations: 4 kB / 0.7319 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.2294, allocations: 11.98 kB / 0.7319 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2294, allocations: 0 / 0.7319 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.2294, allocations: 0 / 0.7319 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.2294, allocations: 0 / 0.7319 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2294, allocations: 0 / 0.7319 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.2298, allocations: 183.5 kB / 0.7321 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.2299, allocations: 89.42 kB / 0.7322 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.2299, allocations: 0 / 0.7322 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.2302, allocations: 19.98 kB / 0.7322 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/0.2303, allocations: 15.86 kB / 0.7322 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.2303, allocations: 4 kB / 0.7322 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.649e-05/0.2304, allocations: 91.27 kB / 0.7323 GB, free: 5.488 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2304, allocations: 0 / 0.7323 GB, free: 5.488 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003055/0.2307, allocations: 15.95 kB / 0.7323 GB, free: 5.473 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007629/0.2315, allocations: 0.7125 MB / 0.733 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004181/0.2319, allocations: 67.89 kB / 0.7331 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2319, allocations: 288 / 0.7331 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.2321, allocations: 23.98 kB / 0.7331 GB, free: 4.645 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.2324, allocations: 11.94 kB / 0.7331 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.2337, allocations: 483 kB / 0.7336 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.234, allocations: 0.6848 MB / 0.7342 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.233e-05/0.2341, allocations: 4 kB / 0.7342 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/0.2342, allocations: 23.36 kB / 0.7343 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of SimCode: time 9.62e-07/0.2342, allocations: 0 / 0.7343 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.254, allocations: 1.406 MB / 0.7356 GB, free: 2.082 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003213/0.2544, allocations: 206.4 kB / 0.7358 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/2.522, allocations: 0 / 0.7358 GB, free: 1.832 MB / 0.5573 GB