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.01112/0.01112, allocations: 108 kB / 15.06 MB, free: 5.555 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.001244/0.001244, allocations: 183.2 kB / 15.95 MB, free: 5.52 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 1.873/1.873, allocations: 194.5 MB / 211.3 MB, free: 10.99 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.264/2.264, allocations: 236.1 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006329/0.0006327, allocations: 12 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6463/0.647, allocations: 98.72 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001713/0.6487, allocations: 1.143 MB / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.6504, allocations: 0.8154 MB / 0.6853 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.269e-05/0.6505, allocations: 1.188 kB / 0.6853 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.214e-05/0.6505, allocations: 6 kB / 0.6854 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.6507, allocations: 22.33 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.6511, allocations: 112.6 kB / 0.6855 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.6513, allocations: 66.97 kB / 0.6855 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.6514, allocations: 8.875 kB / 0.6856 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.6516, allocations: 42.94 kB / 0.6856 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.6517, allocations: 45.06 kB / 0.6856 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.6517, allocations: 3 kB / 0.6856 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.652, allocations: 67.8 kB / 0.6857 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.043e-05/0.652, allocations: 15.89 kB / 0.6857 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.6521, allocations: 44.67 kB / 0.6858 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.6524, allocations: 132 kB / 0.6859 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.6524, allocations: 0 / 0.6859 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.335e-06/0.6524, allocations: 5.406 kB / 0.6859 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.6524, allocations: 0 / 0.6859 GB, free: 15.12 MB / 0.5261 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.0007666/0.6532, allocations: 414.6 kB / 0.6863 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.6532, allocations: 9.875 kB / 0.6863 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.6533, allocations: 39.23 kB / 0.6863 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.6533, allocations: 11.64 kB / 0.6863 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.6535, allocations: 169.6 kB / 0.6865 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-05/0.6535, allocations: 36.14 kB / 0.6865 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.6536, allocations: 17.25 kB / 0.6866 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.6538, allocations: 98.41 kB / 0.6867 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.6539, allocations: 0 / 0.6867 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.6539, allocations: 1.219 kB / 0.6867 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.6539, allocations: 2.344 kB / 0.6867 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.6541, allocations: 52.92 kB / 0.6867 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000705/0.6548, allocations: 0.5151 MB / 0.6872 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007274/0.6555, allocations: 133.4 kB / 0.6873 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.6556, allocations: 8.938 kB / 0.6873 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/0.6558, allocations: 110.8 kB / 0.6875 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 3.286e-06/0.6559, allocations: 1.031 kB / 0.6875 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0004308/0.6563, allocations: 141.6 kB / 0.6876 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.6563, allocations: 105.2 kB / 0.6877 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.6565, allocations: 125.8 kB / 0.6878 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.6565, allocations: 30.92 kB / 0.6878 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.6566, allocations: 93.28 kB / 0.6879 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.6566, allocations: 39.66 kB / 0.688 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.412e-05/0.6566, allocations: 5.375 kB / 0.688 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.629e-05/0.6567, allocations: 314.2 kB / 0.6883 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.6568, allocations: 34.75 kB / 0.6883 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.657, allocations: 53.38 kB / 0.6884 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.6572, allocations: 37.94 kB / 0.6884 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6572, allocations: 0.9375 kB / 0.6884 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000365/0.6575, allocations: 132 kB / 0.6885 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.6576, allocations: 9.016 kB / 0.6885 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6576, allocations: 5.406 kB / 0.6885 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.6576, allocations: 2.375 kB / 0.6885 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.6578, allocations: 21.75 kB / 0.6886 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.6579, allocations: 1.281 kB / 0.6886 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.658, allocations: 16.42 kB / 0.6886 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.6581, allocations: 4.766 kB / 0.6886 GB, free: 12.71 MB / 0.5261 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.0001017/0.6582, allocations: 125.9 kB / 0.6887 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.6582, allocations: 9.906 kB / 0.6887 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/0.6585, allocations: 115.7 kB / 0.6888 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.6586, allocations: 6.484 kB / 0.6888 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.6586, allocations: 5.328 kB / 0.6888 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.6586, allocations: 1.453 kB / 0.6888 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.6588, allocations: 226.2 kB / 0.689 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6588, allocations: 1.219 kB / 0.689 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.659, allocations: 25.41 kB / 0.6891 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.659, allocations: 2.656 kB / 0.6891 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.6591, allocations: 2.484 kB / 0.6891 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.6591, allocations: 5.297 kB / 0.6891 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6591, allocations: 1.25 kB / 0.6891 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.6594, allocations: 192.7 kB / 0.6893 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.96e-05/0.6595, allocations: 100.6 kB / 0.6894 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.6596, allocations: 6.984 kB / 0.6894 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.6597, allocations: 7.781 kB / 0.6894 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.6598, allocations: 18.62 kB / 0.6894 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.6598, allocations: 10.39 kB / 0.6894 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.203e-05/0.6599, allocations: 98.81 kB / 0.6895 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6599, allocations: 0 / 0.6895 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000406/0.6603, allocations: 55.84 kB / 0.6895 GB, free: 11.88 MB / 0.5261 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.0007314/0.6611, allocations: 0.9216 MB / 0.6904 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003387/0.6614, allocations: 95.05 kB / 0.6905 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.6615, allocations: 0 / 0.6905 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.6616, allocations: 50.64 kB / 0.6906 GB, free: 11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.6618, allocations: 9.844 kB / 0.6906 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008739/0.6627, allocations: 0.6479 MB / 0.6912 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.6629, allocations: 0.7029 MB / 0.6919 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.663, allocations: 17.22 kB / 0.6919 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.576e-05/0.6631, allocations: 30.3 kB / 0.692 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of SimCode: time 6.71e-07/0.6631, allocations: 0 / 0.692 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.6936, allocations: 2.685 MB / 0.6946 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/0.6939, allocations: 209.5 kB / 0.6948 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.303/2.997, allocations: 4 kB / 0.6948 GB, free: 9.129 MB / 0.5261 GB