Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.724/1.724, allocations: 285.4 MB / 298 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 176.9 kB / 366.4 MB, free: 2.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.1 MB / 0.6248 GB, free: 7.766 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000845/0.0008449, allocations: 94.22 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.526e-05/3.528e-05, allocations: 0 / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7647/0.7647, allocations: 115.3 MB / 0.9709 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2061/0.9709, allocations: 138.9 MB / 1.107 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.9712, allocations: 71.95 kB / 1.107 GB, free: 12.86 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.01058/0.9817, allocations: 3.319 MB / 1.11 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.777e-06/0.9818, allocations: 0.7188 kB / 1.11 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.9818, allocations: 4 kB / 1.11 GB, free: 9.582 MB / 0.7136 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.0007643/0.9826, allocations: 413.7 kB / 1.11 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.408e-05/0.9827, allocations: 8.031 kB / 1.11 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.286e-05/0.9828, allocations: 7.906 kB / 1.11 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.983, allocations: 175 kB / 1.11 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-05/0.9831, allocations: 34.72 kB / 1.11 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.9832, allocations: 8 kB / 1.11 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.9834, allocations: 99.92 kB / 1.111 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.9835, allocations: 7.562 kB / 1.111 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.9835, allocations: 4 kB / 1.111 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.9835, allocations: 3.5 kB / 1.111 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.9836, allocations: 43.92 kB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008487/0.9845, allocations: 0.519 MB / 1.111 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.985, allocations: 143.8 kB / 1.111 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.899e-05/0.9851, allocations: 38.58 kB / 1.111 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.9851, allocations: 4 kB / 1.111 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.9853, allocations: 116.8 kB / 1.111 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.665e-06/0.9854, allocations: 0 / 1.111 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0002949/0.9857, allocations: 113.5 kB / 1.112 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.226e-05/0.9858, allocations: 110.8 kB / 1.112 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.9859, allocations: 112.9 kB / 1.112 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.9859, allocations: 33.73 kB / 1.112 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.649e-05/0.986, allocations: 100.2 kB / 1.112 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.9861, allocations: 31.7 kB / 1.112 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-06/0.9861, allocations: 4 kB / 1.112 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.9862, allocations: 314.8 kB / 1.112 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.267e-05/0.9863, allocations: 28 kB / 1.112 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.293e-05/0.9864, allocations: 55.53 kB / 1.112 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.616e-05/0.9864, allocations: 27.98 kB / 1.112 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9865, allocations: 4 kB / 1.112 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000232/0.9867, allocations: 127.5 kB / 1.112 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.9867, allocations: 5.688 kB / 1.112 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.9867, allocations: 4 kB / 1.112 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.9868, allocations: 0 / 1.112 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.9869, allocations: 23.98 kB / 1.112 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.9869, allocations: 3.953 kB / 1.112 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.987, allocations: 19.83 kB / 1.112 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.987, allocations: 4 kB / 1.112 GB, free: 6.613 MB / 0.7136 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 9.697e-05/0.9871, allocations: 119.6 kB / 1.113 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.9872, allocations: 7.906 kB / 1.113 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.9874, allocations: 118.2 kB / 1.113 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.9874, allocations: 4 kB / 1.113 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.9874, allocations: 0 / 1.113 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.9875, allocations: 3.953 kB / 1.113 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.9877, allocations: 217.6 kB / 1.113 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.9877, allocations: 0 / 1.113 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.758e-05/0.9878, allocations: 19.98 kB / 1.113 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.9878, allocations: 4 kB / 1.113 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.9878, allocations: 6.75 kB / 1.113 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.9878, allocations: 7.312 kB / 1.113 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.9878, allocations: 4 kB / 1.113 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.9881, allocations: 198 kB / 1.113 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.944e-05/0.9882, allocations: 100.9 kB / 1.113 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.9882, allocations: 0 / 1.113 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.551e-05/0.9883, allocations: 19.94 kB / 1.113 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.9884, allocations: 11.98 kB / 1.113 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.9884, allocations: 4 kB / 1.113 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.413e-05/0.9885, allocations: 107.3 kB / 1.113 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9885, allocations: 0 / 1.113 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003101/0.9888, allocations: 55.94 kB / 1.113 GB, free: 5.516 MB / 0.7136 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.0002711/0.9891, allocations: 151.1 kB / 1.114 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.9893, allocations: 87.92 kB / 1.114 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9893, allocations: 0 / 1.114 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.9894, allocations: 55.91 kB / 1.114 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.9896, allocations: 12.94 kB / 1.114 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.9901, allocations: 158.5 kB / 1.114 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.9904, allocations: 0.7043 MB / 1.115 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.417e-05/0.9905, allocations: 21.09 kB / 1.115 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.9905, allocations: 23.38 kB / 1.115 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of SimCode: time 9.52e-07/0.9905, allocations: 0 / 1.115 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of Templates: time 0.004472/0.995, allocations: 1.472 MB / 1.116 GB, free: 2.828 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)