Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01126/0.01126, allocations: 106.2 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001214/0.001214, allocations: 186.3 kB / 15.95 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.076/2.076, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.317/2.317, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004997/0.0004997, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6788/0.6793, allocations: 98.72 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2348/0.9142, allocations: 126.6 MB / 0.807 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.9145, allocations: 75.94 kB / 0.8071 GB, free: 15.62 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Controls/OBC/CDL/Utilities/SunRiseSet.mo:57:7-57:32:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01688/0.9314, allocations: 3.4 MB / 0.8104 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9314, allocations: 0 / 0.8104 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.9315, allocations: 0 / 0.8104 GB, free: 12.21 MB / 0.6355 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.0007937/0.9323, allocations: 427.1 kB / 0.8108 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.9323, allocations: 12.03 kB / 0.8109 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.241e-05/0.9324, allocations: 34.56 kB / 0.8109 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.9325, allocations: 19.86 kB / 0.8109 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.9326, allocations: 179 kB / 0.8111 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.916e-05/0.9327, allocations: 29.7 kB / 0.8111 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.9328, allocations: 8 kB / 0.8111 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.933, allocations: 100.2 kB / 0.8112 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.9331, allocations: 0 / 0.8112 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.9331, allocations: 4 kB / 0.8112 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.9331, allocations: 4 kB / 0.8112 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.9333, allocations: 51.91 kB / 0.8113 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008229/0.9341, allocations: 0.5049 MB / 0.8118 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007606/0.9349, allocations: 135.8 kB / 0.8119 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.935, allocations: 4 kB / 0.8119 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002568/0.9352, allocations: 117.9 kB / 0.812 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.655e-06/0.9352, allocations: 0 / 0.812 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0004818/0.9357, allocations: 141.5 kB / 0.8121 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.9358, allocations: 110.8 kB / 0.8122 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.936, allocations: 121 kB / 0.8124 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.936, allocations: 33.64 kB / 0.8124 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.9361, allocations: 96.31 kB / 0.8125 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.9362, allocations: 35.61 kB / 0.8125 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/0.9362, allocations: 4 kB / 0.8125 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.9363, allocations: 318.8 kB / 0.8128 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.9365, allocations: 31.98 kB / 0.8129 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.9366, allocations: 49.69 kB / 0.8129 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.9368, allocations: 32 kB / 0.8129 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.9368, allocations: 0 / 0.8129 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004101/0.9372, allocations: 129.5 kB / 0.8131 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.9373, allocations: 4 kB / 0.8131 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.9373, allocations: 0 / 0.8131 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.9373, allocations: 7.891 kB / 0.8131 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.9375, allocations: 23.98 kB / 0.8131 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.9376, allocations: 3.984 kB / 0.8131 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.9377, allocations: 15.94 kB / 0.8131 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.9378, allocations: 4 kB / 0.8131 GB, free: 9.172 MB / 0.6355 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.booToRea.u) * 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.0001454/0.9379, allocations: 129.8 kB / 0.8132 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.938, allocations: 7.906 kB / 0.8132 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/0.9383, allocations: 113.9 kB / 0.8134 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.9384, allocations: 3.953 kB / 0.8134 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.9384, allocations: 4 kB / 0.8134 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.9384, allocations: 12.2 kB / 0.8134 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.9387, allocations: 221.4 kB / 0.8136 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.9387, allocations: 0 / 0.8136 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.9389, allocations: 16.31 kB / 0.8136 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/0.9389, allocations: 3.984 kB / 0.8136 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.939, allocations: 11.98 kB / 0.8136 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.939, allocations: 3.938 kB / 0.8136 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.939, allocations: 3.953 kB / 0.8136 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.9394, allocations: 190.2 kB / 0.8138 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.9395, allocations: 100.9 kB / 0.8139 GB, free: 8.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.9396, allocations: 7.953 kB / 0.8139 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.9397, allocations: 11.98 kB / 0.8139 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.9398, allocations: 15.98 kB / 0.8139 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.9398, allocations: 4 kB / 0.8139 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.681e-05/0.9399, allocations: 103.2 kB / 0.814 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.94, allocations: 0 / 0.814 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004198/0.9404, allocations: 59.92 kB / 0.8141 GB, free: 8.047 MB / 0.6355 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.booToRea.u) * 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.0009407/0.9413, allocations: 0.9272 MB / 0.815 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003652/0.9417, allocations: 91.89 kB / 0.8151 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.9417, allocations: 0 / 0.8151 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.9419, allocations: 55.84 kB / 0.8151 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.9421, allocations: 18.23 kB / 0.8152 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.9432, allocations: 0.6371 MB / 0.8158 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.9436, allocations: 0.7043 MB / 0.8165 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001403/0.9438, allocations: 17.06 kB / 0.8165 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.9439, allocations: 35.42 kB / 0.8165 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of SimCode: time 3.616e-06/0.9439, allocations: 0 / 0.8165 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.9648, allocations: 2.61 MB / 0.8191 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003491/0.9652, allocations: 202.2 kB / 0.8193 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/3.422, allocations: 0.5625 kB / 0.8193 GB, free: 2.715 MB / 0.6355 GB