Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.003/5.003, allocations: 0.5623 GB / 0.5775 GB, free: 3.32 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002454/0.002453, allocations: 358.5 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.296/4.296, allocations: 410.7 MB / 1.113 GB, free: 5.902 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001785/0.001785, allocations: 191.4 kB / 1.226 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.000485, allocations: 12 kB / 1.349 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7167/0.7172, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2049/0.9221, allocations: 138.8 MB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.9225, allocations: 77.34 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Controls/OBC/CDL/Utilities/SunRiseSet.mo:122:7-122:30: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.01531/0.9378, allocations: 3.332 MB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9378, allocations: 1.312 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.9379, allocations: 4 kB / 1.6 GB, free: 142 MB / 0.8542 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.0006831/0.9385, allocations: 413.1 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.9386, allocations: 16.62 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.9387, allocations: 7.906 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.9388, allocations: 181 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.19e-05/0.9389, allocations: 38.7 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.9389, allocations: 4 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.9392, allocations: 102.5 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.9392, allocations: 4 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.9392, allocations: 0 / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.9392, allocations: 0 / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.9394, allocations: 49.55 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006977/0.9401, allocations: 0.5191 MB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006953/0.9408, allocations: 138.4 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.573e-05/0.9409, allocations: 44.16 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.941, allocations: 1.672 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.9412, allocations: 118.1 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 2.394e-06/0.9412, allocations: 0 / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0004438/0.9417, allocations: 145.4 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.9417, allocations: 102.8 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.9418, allocations: 126.6 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.9419, allocations: 29.7 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.9419, allocations: 96.88 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.942, allocations: 36.86 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.278e-05/0.942, allocations: 0 / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.125e-05/0.9421, allocations: 319.7 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.9422, allocations: 35.98 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.9424, allocations: 54.66 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.9425, allocations: 32.22 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9425, allocations: 0 / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003469/0.9429, allocations: 130.9 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.9429, allocations: 8 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.9429, allocations: 0 / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.943, allocations: 3.953 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.9432, allocations: 24.81 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.9432, allocations: 0 / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.9434, allocations: 21.44 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.9434, allocations: 4 kB / 1.603 GB, free: 139 MB / 0.8542 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.0001066/0.9435, allocations: 132 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.9436, allocations: 11.91 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.9439, allocations: 104 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.9439, allocations: 9.156 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.9439, allocations: 7.938 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.9439, allocations: 6.203 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.9442, allocations: 223.6 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.9442, allocations: 0 / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.9443, allocations: 20 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.9444, allocations: 0 / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.9444, allocations: 7.984 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.9444, allocations: 0 / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.9444, allocations: 0.625 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.9447, allocations: 184 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.9448, allocations: 97.72 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.9449, allocations: 4 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.945, allocations: 17.3 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.256e-05/0.9451, allocations: 12.78 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.9451, allocations: 4 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.712e-05/0.9452, allocations: 103.9 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9452, allocations: 3.938 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004419/0.9457, allocations: 60.42 kB / 1.604 GB, free: 137.9 MB / 0.8542 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.0003016/0.946, allocations: 155.9 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003181/0.9463, allocations: 94 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9463, allocations: 0 / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.9465, allocations: 51.91 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.9468, allocations: 21.41 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.9474, allocations: 259.1 kB / 1.604 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.9476, allocations: 0.7133 MB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.9477, allocations: 14.3 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.9478, allocations: 19.42 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.082e-06/0.9478, allocations: 0 / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.005595/0.9534, allocations: 1.478 MB / 1.607 GB, free: 135.2 MB / 0.8542 GB