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.454/2.454, allocations: 253.1 MB / 260.6 MB, free: 7.562 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002307/0.002307, allocations: 180.8 kB / 319.9 MB, free: 3.09 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.29/2.29, allocations: 205.6 MB / 0.5708 GB, free: 15.24 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.001162/0.001162, allocations: 95.7 kB / 0.6751 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.554e-05/1.527e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2041, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8776/1.082, allocations: 133.7 MB / 1.019 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/1.082, allocations: 71.83 kB / 1.019 GB, free: 3.57 MB / 0.6355 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.01648/1.099, allocations: 3.384 MB / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.654e-06/1.099, allocations: 7.938 kB / 1.023 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.895e-06/1.099, allocations: 0 / 1.023 GB, free: 0.6914 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.0007045/1.099, allocations: 411.8 kB / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.099, allocations: 8.031 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.208e-05/1.099, allocations: 7.906 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/1.1, allocations: 167 kB / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/1.1, allocations: 8 kB / 1.023 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/1.1, allocations: 4 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001807/1.1, allocations: 42.91 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/1.1, allocations: 89.17 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/1.1, allocations: 0 / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/1.1, allocations: 0 / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/1.1, allocations: 4 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000793/1.101, allocations: 0.4993 MB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007142/1.102, allocations: 128.9 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.734e-05/1.102, allocations: 36.83 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/1.102, allocations: 4 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000237/1.102, allocations: 116.7 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 2.685e-06/1.102, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.001057/1.103, allocations: 161.1 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/1.103, allocations: 106.8 kB / 1.024 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/1.104, allocations: 116.7 kB / 1.024 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/1.104, allocations: 29.73 kB / 1.024 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.676e-05/1.104, allocations: 99.52 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/1.104, allocations: 30.55 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/1.104, allocations: 0 / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.104, allocations: 322.4 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.021e-05/1.104, allocations: 27.06 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/1.104, allocations: 40.53 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/1.106, allocations: 122.3 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/1.106, allocations: 4 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001398/1.108, allocations: 206.9 kB / 1.025 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/1.108, allocations: 4 kB / 1.025 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/1.108, allocations: 0 / 1.025 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1.108, allocations: 0 / 1.025 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/1.108, allocations: 19.98 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/1.108, allocations: 4.578 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/1.108, allocations: 19.83 kB / 1.025 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/1.108, allocations: 4 kB / 1.025 GB, free: 13.85 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * 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.0001134/1.108, allocations: 112.5 kB / 1.025 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/1.108, allocations: 4 kB / 1.025 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000324/1.109, allocations: 105 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/1.109, allocations: 0 / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.109, allocations: 7.938 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/1.109, allocations: 3.953 kB / 1.026 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/1.109, allocations: 195.4 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.109, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/1.109, allocations: 20.12 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/1.109, allocations: 4.141 kB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/1.109, allocations: 3.984 kB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.109, allocations: 0 / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.109, allocations: 4 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/1.11, allocations: 249.4 kB / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/1.11, allocations: 100.5 kB / 1.026 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/1.111, allocations: 0 / 1.026 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/1.111, allocations: 11.98 kB / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.243e-05/1.111, allocations: 15.38 kB / 1.026 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/1.111, allocations: 7.938 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.419e-05/1.111, allocations: 102 kB / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/1.111, allocations: 0 / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004029/1.111, allocations: 55.44 kB / 1.026 GB, free: 12.86 MB / 0.6511 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) * 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.0003168/1.112, allocations: 155.1 kB / 1.026 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007119/1.112, allocations: 0.7576 MB / 1.027 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.112, allocations: 4.062 kB / 1.027 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/1.113, allocations: 45.73 kB / 1.027 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/1.113, allocations: 19.39 kB / 1.027 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/1.113, allocations: 143.3 kB / 1.027 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/1.114, allocations: 0.7195 MB / 1.028 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000119/1.114, allocations: 8.891 kB / 1.028 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.162e-05/1.114, allocations: 22.67 kB / 1.028 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of SimCode: time 6.81e-07/1.114, allocations: 0 / 1.028 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of Templates: time 0.005996/1.12, allocations: 1.459 MB / 1.03 GB, free: 9.52 MB / 0.6511 GB