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.42/2.42, allocations: 252.6 MB / 265.2 MB, free: 5.758 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.001464/0.001464, allocations: 181.4 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.153/2.153, allocations: 205.4 MB / 0.5754 GB, free: 10.51 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.001135/0.001135, allocations: 97.52 kB / 0.6797 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.362e-05, allocations: 4 kB / 0.7911 GB, free: 96.64 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2065, allocations: 106.2 MB / 0.8949 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8532/1.06, allocations: 133.4 MB / 1.025 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000414/1.06, allocations: 73.34 kB / 1.025 GB, free: 1.16 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.0189/1.079, allocations: 3.399 MB / 1.029 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.773e-06/1.079, allocations: 4 kB / 1.029 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.255e-06/1.079, allocations: 0 / 1.029 GB, free: 14.22 MB / 0.6511 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.0007766/1.08, allocations: 409.2 kB / 1.029 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/1.08, allocations: 8.031 kB / 1.029 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.82e-05/1.08, allocations: 7.906 kB / 1.029 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/1.08, allocations: 174.5 kB / 1.029 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-05/1.08, allocations: 33.7 kB / 1.029 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.487e-05/1.08, allocations: 19.61 kB / 1.029 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/1.081, allocations: 93.55 kB / 1.029 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.081, allocations: 0 / 1.029 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/1.081, allocations: 3 kB / 1.029 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/1.081, allocations: 4 kB / 1.029 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/1.081, allocations: 44.86 kB / 1.029 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008349/1.082, allocations: 0.5146 MB / 1.03 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007292/1.083, allocations: 141 kB / 1.03 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/1.083, allocations: 44.33 kB / 1.03 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/1.083, allocations: 8.234 kB / 1.03 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/1.083, allocations: 113.7 kB / 1.03 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 2.705e-06/1.083, allocations: 3.938 kB / 1.03 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0003714/1.083, allocations: 112.6 kB / 1.03 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/1.084, allocations: 106.1 kB / 1.03 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/1.084, allocations: 123.9 kB / 1.03 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/1.084, allocations: 29.39 kB / 1.03 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.439e-05/1.084, allocations: 92.02 kB / 1.031 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/1.084, allocations: 30.73 kB / 1.031 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/1.084, allocations: 3.875 kB / 1.031 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.084, allocations: 318.8 kB / 1.031 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/1.084, allocations: 27.69 kB / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/1.084, allocations: 45.47 kB / 1.031 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/1.084, allocations: 37.97 kB / 1.031 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.084, allocations: 0 / 1.031 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003608/1.085, allocations: 125.3 kB / 1.031 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.085, allocations: 4 kB / 1.031 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.085, allocations: 0 / 1.031 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/1.085, allocations: 3.953 kB / 1.031 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/1.085, allocations: 23.86 kB / 1.031 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/1.085, allocations: 7.938 kB / 1.031 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/1.085, allocations: 15.83 kB / 1.031 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/1.085, allocations: 8 kB / 1.031 GB, free: 11.48 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): 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.0001072/1.085, allocations: 108.7 kB / 1.031 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/1.086, allocations: 7.906 kB / 1.031 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/1.086, allocations: 114.6 kB / 1.031 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/1.086, allocations: 7.953 kB / 1.031 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/1.086, allocations: 4 kB / 1.031 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/1.086, allocations: 4 kB / 1.031 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/1.086, allocations: 217.6 kB / 1.032 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.086, allocations: 128 / 1.032 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/1.086, allocations: 27.92 kB / 1.032 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/1.086, allocations: 0 / 1.032 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/1.086, allocations: 7.688 kB / 1.032 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.086, allocations: 0 / 1.032 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/1.086, allocations: 7.938 kB / 1.032 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/1.087, allocations: 190.4 kB / 1.032 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/1.087, allocations: 100.7 kB / 1.032 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/1.087, allocations: 11.14 kB / 1.032 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/1.087, allocations: 4 kB / 1.032 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/1.087, allocations: 23.86 kB / 1.032 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/1.087, allocations: 15.86 kB / 1.032 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.463e-05/1.087, allocations: 96.47 kB / 1.032 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.8e-07/1.087, allocations: 0 / 1.032 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004112/1.088, allocations: 66.17 kB / 1.032 GB, free: 10.48 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.0003241/1.088, allocations: 150.5 kB / 1.032 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002981/1.088, allocations: 88.34 kB / 1.032 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.088, allocations: 0 / 1.032 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/1.089, allocations: 51.88 kB / 1.032 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/1.089, allocations: 6.5 kB / 1.032 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004919/1.089, allocations: 163.1 kB / 1.033 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/1.09, allocations: 0.7122 MB / 1.033 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001308/1.09, allocations: 20.86 kB / 1.033 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.218e-05/1.09, allocations: 15.44 kB / 1.033 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of SimCode: time 8.02e-07/1.09, allocations: 0 / 1.033 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of Templates: time 0.006093/1.096, allocations: 1.484 MB / 1.035 GB, free: 7.824 MB / 0.6511 GB