Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.318/2.318, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001544/0.001544, allocations: 183.8 kB / 325.6 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.512/2.512, allocations: 205.4 MB / 0.5766 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 96.62 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006456/0.0006458, allocations: 10.16 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2062, allocations: 106.3 MB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2577/0.4639, allocations: 133.5 MB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000363/0.4643, allocations: 71.95 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Controls/OBC/CDL/Utilities/SunRiseSet.mo:54:7-54: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.02143/0.4858, allocations: 3.405 MB / 1.033 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.414e-06/0.4859, allocations: 0 / 1.033 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.4859, allocations: 4 kB / 1.033 GB, free: 8.855 MB / 0.6823 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.001011/0.4869, allocations: 427.2 kB / 1.033 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.487, allocations: 8.031 kB / 1.033 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.291e-05/0.4871, allocations: 7.906 kB / 1.033 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.4873, allocations: 182.8 kB / 1.033 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.4874, allocations: 29.7 kB / 1.033 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.4875, allocations: 15.92 kB / 1.033 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.4878, allocations: 104.2 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4879, allocations: 0 / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.4879, allocations: 4 kB / 1.033 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.4879, allocations: 0 / 1.033 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.4882, allocations: 51.91 kB / 1.033 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.4893, allocations: 0.5126 MB / 1.034 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009886/0.4903, allocations: 135.8 kB / 1.034 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.4903, allocations: 0 / 1.034 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002836/0.4906, allocations: 114 kB / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 4.248e-06/0.4907, allocations: 0 / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0005032/0.4912, allocations: 149.4 kB / 1.034 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/0.4913, allocations: 102.8 kB / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.4914, allocations: 121 kB / 1.035 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.4915, allocations: 29.7 kB / 1.035 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.4915, allocations: 88.33 kB / 1.035 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.4916, allocations: 35.55 kB / 1.035 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/0.4916, allocations: 4 kB / 1.035 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4918, allocations: 323 kB / 1.035 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.4919, allocations: 31.98 kB / 1.035 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.4921, allocations: 48.09 kB / 1.035 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.4923, allocations: 45.45 kB / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4923, allocations: 0 / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004339/0.4927, allocations: 125.5 kB / 1.035 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.4928, allocations: 4 kB / 1.035 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.4928, allocations: 0 / 1.035 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.4928, allocations: 11.95 kB / 1.035 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.4931, allocations: 23.92 kB / 1.035 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4931, allocations: 0 / 1.035 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.4933, allocations: 11.94 kB / 1.035 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.4933, allocations: 7.984 kB / 1.035 GB, free: 5.863 MB / 0.6823 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.0001423/0.4935, allocations: 119.9 kB / 1.035 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.4935, allocations: 7.906 kB / 1.035 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.494, allocations: 126.3 kB / 1.036 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.494, allocations: 4 kB / 1.036 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.494, allocations: 8.016 kB / 1.036 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.494, allocations: 0 / 1.036 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.4943, allocations: 217.5 kB / 1.036 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4943, allocations: 0 / 1.036 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.4945, allocations: 23.92 kB / 1.036 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.4945, allocations: 4 kB / 1.036 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.4946, allocations: 8 kB / 1.036 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.4946, allocations: 7.938 kB / 1.036 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4946, allocations: 0 / 1.036 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.495, allocations: 190 kB / 1.036 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.4951, allocations: 104.8 kB / 1.036 GB, free: 4.941 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.4952, allocations: 11.95 kB / 1.036 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.4954, allocations: 11.98 kB / 1.036 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.4954, allocations: 11.98 kB / 1.036 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.4955, allocations: 4 kB / 1.036 GB, free: 4.902 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.199e-05/0.4956, allocations: 102.3 kB / 1.036 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4956, allocations: 0 / 1.036 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004193/0.496, allocations: 59.92 kB / 1.036 GB, free: 4.746 MB / 0.6823 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.0003208/0.4963, allocations: 163.1 kB / 1.036 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003407/0.4967, allocations: 91.84 kB / 1.036 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4967, allocations: 0 / 1.036 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.4969, allocations: 59.84 kB / 1.037 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.4971, allocations: 8.766 kB / 1.037 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.4977, allocations: 269.7 kB / 1.037 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.4981, allocations: 0.7042 MB / 1.037 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001359/0.4982, allocations: 21.09 kB / 1.038 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.2e-05/0.4983, allocations: 19.44 kB / 1.038 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of SimCode: time 8.92e-07/0.4983, allocations: 0 / 1.038 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of Templates: time 0.005958/0.5043, allocations: 1.471 MB / 1.039 GB, free: 1.883 MB / 0.6823 GB