Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.904/2.904, allocations: 287.5 MB / 302.5 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00149/0.00149, allocations: 183.7 kB / 371 MB, free: 10.76 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.4 MB / 0.6297 GB, free: 10.51 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001254/0.001253, allocations: 103.6 kB / 0.743 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005247/0.0005248, allocations: 20.64 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2246, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.037/1.261, allocations: 138.8 MB / 1.114 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/1.262, allocations: 73.48 kB / 1.114 GB, free: 15.72 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0163/1.278, allocations: 3.333 MB / 1.117 GB, free: 31.26 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.226e-06/1.278, allocations: 0 / 1.117 GB, free: 31.26 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.117e-06/1.278, allocations: 0 / 1.117 GB, free: 31.26 MB / 0.698 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.0008285/1.279, allocations: 418.2 kB / 1.118 GB, free: 30.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/1.279, allocations: 15.59 kB / 1.118 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.921e-05/1.279, allocations: 11.69 kB / 1.118 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/1.279, allocations: 181 kB / 1.118 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.453e-05/1.279, allocations: 33.39 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/1.28, allocations: 7.438 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/1.28, allocations: 102.4 kB / 1.118 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.28, allocations: 0 / 1.118 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/1.28, allocations: 0 / 1.118 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/1.28, allocations: 3.781 kB / 1.118 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/1.28, allocations: 48.03 kB / 1.118 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007686/1.281, allocations: 0.5063 MB / 1.119 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006877/1.281, allocations: 142.6 kB / 1.119 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/1.282, allocations: 3.75 kB / 1.119 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/1.282, allocations: 116.3 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.094e-06/1.282, allocations: 0 / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0004289/1.282, allocations: 145.7 kB / 1.119 GB, free: 29.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/1.282, allocations: 102.8 kB / 1.119 GB, free: 29.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/1.282, allocations: 118 kB / 1.119 GB, free: 29.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/1.282, allocations: 37.45 kB / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/1.283, allocations: 93.89 kB / 1.119 GB, free: 29.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/1.283, allocations: 30.5 kB / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/1.283, allocations: 3.188 kB / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.283, allocations: 317.2 kB / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/1.283, allocations: 34.95 kB / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/1.283, allocations: 49.95 kB / 1.12 GB, free: 29.22 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/1.283, allocations: 38.08 kB / 1.12 GB, free: 29.22 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.283, allocations: 0 / 1.12 GB, free: 29.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003558/1.284, allocations: 126.9 kB / 1.12 GB, free: 29.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.284, allocations: 10.72 kB / 1.12 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.284, allocations: 0 / 1.12 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.284, allocations: 0 / 1.12 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/1.284, allocations: 22.03 kB / 1.12 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/1.284, allocations: 3.953 kB / 1.12 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/1.284, allocations: 18.81 kB / 1.12 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/1.284, allocations: 10.84 kB / 1.12 GB, free: 29.16 MB / 0.698 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.0001286/1.284, allocations: 128.6 kB / 1.12 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/1.284, allocations: 10.89 kB / 1.12 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/1.285, allocations: 109 kB / 1.12 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.285, allocations: 3.844 kB / 1.12 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.285, allocations: 4 kB / 1.12 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/1.285, allocations: 3.953 kB / 1.12 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/1.285, allocations: 221 kB / 1.12 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.285, allocations: 3.938 kB / 1.12 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/1.285, allocations: 21.3 kB / 1.12 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.285, allocations: 0 / 1.12 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/1.285, allocations: 6.344 kB / 1.12 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.285, allocations: 0 / 1.12 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.285, allocations: 0 / 1.12 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/1.285, allocations: 201.8 kB / 1.121 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.836e-05/1.286, allocations: 103.6 kB / 1.121 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/1.286, allocations: 4.25 kB / 1.121 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/1.286, allocations: 14.52 kB / 1.121 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/1.286, allocations: 14.12 kB / 1.121 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/1.286, allocations: 10.86 kB / 1.121 GB, free: 28.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.14e-05/1.286, allocations: 100 kB / 1.121 GB, free: 28.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.286, allocations: 0 / 1.121 GB, free: 28.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004023/1.286, allocations: 60.27 kB / 1.121 GB, free: 28.46 MB / 0.698 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.0002867/1.287, allocations: 152.7 kB / 1.121 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003104/1.287, allocations: 97.61 kB / 1.121 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.287, allocations: 0 / 1.121 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/1.287, allocations: 54.59 kB / 1.121 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/1.287, allocations: 10.16 kB / 1.121 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005932/1.288, allocations: 263.9 kB / 1.121 GB, free: 28.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/1.288, allocations: 0.7057 MB / 1.122 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001199/1.288, allocations: 15.44 kB / 1.122 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.508e-05/1.289, allocations: 22.34 kB / 1.122 GB, free: 27.45 MB / 0.698 GB Notification: Performance of SimCode: time 6.71e-07/1.289, allocations: 3.938 kB / 1.122 GB, free: 27.45 MB / 0.698 GB Notification: Performance of Templates: time 0.005382/1.294, allocations: 1.472 MB / 1.124 GB, free: 27.3 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)