Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",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.01026/0.01026, allocations: 90.67 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.001211/0.001211, allocations: 175.4 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.285/2.285, allocations: 205.5 MB / 222.2 MB, free: 13.57 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.371/2.371, allocations: 252.8 MB / 0.511 GB, free: 8.297 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.0004898, allocations: 19.81 kB / 0.6243 GB, free: 21.14 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2283, allocations: 106.2 MB / 0.7281 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002171/0.2305, allocations: 1.142 MB / 0.7292 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.2324, allocations: 0.8319 MB / 0.73 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.076e-05/0.2325, allocations: 4 kB / 0.73 GB, free: 6.09 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.308e-05/0.2325, allocations: 7.922 kB / 0.73 GB, free: 6.082 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.2327, allocations: 11.97 kB / 0.73 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.2332, allocations: 119.6 kB / 0.7301 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.2334, allocations: 59.86 kB / 0.7302 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.2335, allocations: 19.97 kB / 0.7302 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.2337, allocations: 43.84 kB / 0.7303 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.2338, allocations: 35.89 kB / 0.7303 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.2338, allocations: 4 kB / 0.7303 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.2341, allocations: 75.89 kB / 0.7304 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.2341, allocations: 15.91 kB / 0.7304 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.865e-05/0.2342, allocations: 45.62 kB / 0.7304 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.2345, allocations: 140 kB / 0.7306 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2345, allocations: 0 / 0.7306 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2345, allocations: 0 / 0.7306 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2345, allocations: 0 / 0.7306 GB, free: 5.516 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008568/0.2354, allocations: 407 kB / 0.7309 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.2355, allocations: 8.031 kB / 0.731 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.562e-05/0.2355, allocations: 38.56 kB / 0.731 GB, free: 5.016 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.2356, allocations: 11.86 kB / 0.731 GB, free: 5.004 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.2358, allocations: 186.8 kB / 0.7312 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.063e-05/0.2359, allocations: 29.7 kB / 0.7312 GB, free: 4.746 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.2359, allocations: 8 kB / 0.7312 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.2362, allocations: 100.2 kB / 0.7313 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2362, allocations: 0 / 0.7313 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.2362, allocations: 8 kB / 0.7313 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2362, allocations: 0 / 0.7313 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.2364, allocations: 55.86 kB / 0.7314 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008278/0.2373, allocations: 0.5165 MB / 0.7319 GB, free: 3.988 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/0.238, allocations: 131.8 kB / 0.732 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.2381, allocations: 8.234 kB / 0.732 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002803/0.2383, allocations: 109.9 kB / 0.7321 GB, free: 3.695 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=11): time 4.378e-06/0.2384, allocations: 4 kB / 0.7321 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0004718/0.2389, allocations: 141.4 kB / 0.7323 GB, free: 3.547 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.2389, allocations: 106.8 kB / 0.7324 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.2391, allocations: 125.8 kB / 0.7325 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.2391, allocations: 29.7 kB / 0.7325 GB, free: 3.25 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.2392, allocations: 92.33 kB / 0.7326 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.2393, allocations: 35.48 kB / 0.7326 GB, free: 3.121 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.2393, allocations: 0 / 0.7326 GB, free: 3.121 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2394, allocations: 327 kB / 0.7329 GB, free: 2.793 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.2396, allocations: 31.98 kB / 0.733 GB, free: 2.762 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.2397, allocations: 45.7 kB / 0.733 GB, free: 2.711 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.2399, allocations: 39.92 kB / 0.7331 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.24, allocations: 0 / 0.7331 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003903/0.2404, allocations: 125.6 kB / 0.7332 GB, free: 2.543 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.2404, allocations: 7.953 kB / 0.7332 GB, free: 2.535 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.2404, allocations: 0 / 0.7332 GB, free: 2.535 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2404, allocations: 4 kB / 0.7332 GB, free: 2.531 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.2407, allocations: 23.92 kB / 0.7332 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2407, allocations: 3.938 kB / 0.7332 GB, free: 2.504 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.2409, allocations: 20.14 kB / 0.7332 GB, free: 2.484 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.2409, allocations: 7.938 kB / 0.7332 GB, free: 2.477 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001339/0.241, allocations: 125.8 kB / 0.7334 GB, free: 2.344 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.2411, allocations: 7.906 kB / 0.7334 GB, free: 2.336 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003517/0.2414, allocations: 122.1 kB / 0.7335 GB, free: 2.211 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.2415, allocations: 4.031 kB / 0.7335 GB, free: 2.207 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2415, allocations: 0 / 0.7335 GB, free: 2.207 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.2415, allocations: 4 kB / 0.7335 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.2418, allocations: 217.5 kB / 0.7337 GB, free: 1.941 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2418, allocations: 0 / 0.7337 GB, free: 1.941 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.242, allocations: 23.92 kB / 0.7337 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.242, allocations: 4 kB / 0.7337 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.242, allocations: 8 kB / 0.7337 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.242, allocations: 3.953 kB / 0.7337 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2421, allocations: 0 / 0.7337 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.2425, allocations: 201 kB / 0.7339 GB, free: 1.672 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.2426, allocations: 108.9 kB / 0.734 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.2426, allocations: 4 kB / 0.734 GB, free: 1.543 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.2428, allocations: 8 kB / 0.734 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.2429, allocations: 11.98 kB / 0.7341 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.2429, allocations: 7.984 kB / 0.7341 GB, free: 1.516 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.36e-05/0.243, allocations: 99.27 kB / 0.7342 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.21e-07/0.243, allocations: 4 kB / 0.7342 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003992/0.2434, allocations: 55.94 kB / 0.7342 GB, free: 1.359 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009416/0.2444, allocations: 0.9149 MB / 0.7351 GB, free: 412 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003403/0.2447, allocations: 87.91 kB / 0.7352 GB, free: 324 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2447, allocations: 0 / 0.7352 GB, free: 324 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.2449, allocations: 55.91 kB / 0.7352 GB, free: 268 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.2451, allocations: 8 kB / 0.7352 GB, free: 260 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.2462, allocations: 0.6532 MB / 0.7359 GB, free: 15.54 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.2465, allocations: 0.7083 MB / 0.7366 GB, free: 14.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000128/0.2466, allocations: 13.06 kB / 0.7366 GB, free: 14.79 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.2468, allocations: 31.42 kB / 0.7366 GB, free: 14.76 MB / 0.573 GB Notification: Performance of SimCode: time 7.51e-07/0.2468, allocations: 0 / 0.7366 GB, free: 14.76 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.2695, allocations: 2.695 MB / 0.7393 GB, free: 12.16 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003259/0.2699, allocations: 200.3 kB / 0.7394 GB, free: 11.93 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/2.725, allocations: 0 / 0.7394 GB, free: 11.93 MB / 0.573 GB