Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.688/1.688, allocations: 293 MB / 309 MB, free: 4.844 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.001353/0.001354, allocations: 183.8 kB / 378.7 MB, free: 1.051 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.633/1.633, allocations: 205.4 MB / 0.6383 GB, free: 8.184 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.0007811/0.000781, allocations: 90.86 kB / 0.7527 GB, free: 62.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003959, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.273, allocations: 116.4 MB / 0.9904 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7553/1.028, allocations: 140 MB / 1.127 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/1.029, allocations: 71.67 kB / 1.127 GB, free: 34.02 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.009596/1.038, allocations: 3.35 MB / 1.131 GB, free: 31.58 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.484e-06/1.038, allocations: 0 / 1.131 GB, free: 31.58 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.278e-05/1.038, allocations: 4 kB / 1.131 GB, free: 31.57 MB / 0.7292 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.0006662/1.039, allocations: 414.8 kB / 1.131 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/1.039, allocations: 12.03 kB / 1.131 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/1.039, allocations: 9.406 kB / 1.131 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/1.039, allocations: 179.7 kB / 1.131 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-05/1.039, allocations: 38.2 kB / 1.131 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/1.039, allocations: 4.938 kB / 1.131 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/1.04, allocations: 102.3 kB / 1.131 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/1.04, allocations: 5.109 kB / 1.131 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/1.04, allocations: 8.562 kB / 1.131 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/1.04, allocations: 0 / 1.131 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/1.04, allocations: 50.86 kB / 1.131 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007031/1.04, allocations: 0.5142 MB / 1.132 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/1.041, allocations: 136.6 kB / 1.132 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.238e-05/1.041, allocations: 41.58 kB / 1.132 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/1.041, allocations: 4 kB / 1.132 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/1.041, allocations: 115 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 2.204e-06/1.041, allocations: 1.828 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0003077/1.042, allocations: 135.9 kB / 1.132 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/1.042, allocations: 106.9 kB / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.373e-05/1.042, allocations: 134.4 kB / 1.132 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/1.042, allocations: 29.7 kB / 1.132 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/1.042, allocations: 95.8 kB / 1.133 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/1.042, allocations: 35.14 kB / 1.133 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/1.042, allocations: 4 kB / 1.133 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.241e-05/1.042, allocations: 314.8 kB / 1.133 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.106e-05/1.042, allocations: 39.03 kB / 1.133 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/1.042, allocations: 54.64 kB / 1.133 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/1.042, allocations: 77.28 kB / 1.133 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.042, allocations: 0 / 1.133 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002125/1.042, allocations: 132.6 kB / 1.133 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/1.042, allocations: 4 kB / 1.133 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/1.042, allocations: 0 / 1.133 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/1.043, allocations: 0 / 1.133 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/1.043, allocations: 23.25 kB / 1.133 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/1.043, allocations: 0 / 1.133 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.623e-05/1.043, allocations: 20.88 kB / 1.133 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/1.043, allocations: 8.391 kB / 1.133 GB, free: 28.66 MB / 0.7292 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 8.812e-05/1.043, allocations: 130.7 kB / 1.133 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/1.043, allocations: 7.906 kB / 1.133 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/1.043, allocations: 118 kB / 1.134 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/1.043, allocations: 0 / 1.134 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.043, allocations: 4.5 kB / 1.134 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/1.043, allocations: 3.562 kB / 1.134 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/1.043, allocations: 219.1 kB / 1.134 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.043, allocations: 0 / 1.134 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.648e-05/1.043, allocations: 24.91 kB / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/1.043, allocations: 0 / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/1.043, allocations: 7.938 kB / 1.134 GB, free: 28.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.043, allocations: 0.5625 kB / 1.134 GB, free: 28.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.043, allocations: 7.5 kB / 1.134 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/1.044, allocations: 175.9 kB / 1.134 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/1.044, allocations: 101.5 kB / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/1.044, allocations: 0 / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/1.044, allocations: 15.38 kB / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/1.044, allocations: 12.17 kB / 1.134 GB, free: 27.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/1.044, allocations: 16.23 kB / 1.134 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.59e-05/1.044, allocations: 94.8 kB / 1.134 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.044, allocations: 0 / 1.134 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003084/1.044, allocations: 59.94 kB / 1.134 GB, free: 27.65 MB / 0.7292 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.0002142/1.045, allocations: 162.7 kB / 1.134 GB, free: 27.49 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002089/1.045, allocations: 94.98 kB / 1.134 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.045, allocations: 0 / 1.134 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.987e-05/1.045, allocations: 56.58 kB / 1.135 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/1.045, allocations: 11.38 kB / 1.135 GB, free: 27.35 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/1.046, allocations: 269.5 kB / 1.135 GB, free: 27.08 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/1.046, allocations: 0.703 MB / 1.135 GB, free: 26.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.672e-05/1.046, allocations: 18.52 kB / 1.135 GB, free: 26.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/1.046, allocations: 16.38 kB / 1.136 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/1.046, allocations: 0 / 1.136 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of Templates: time 0.003929/1.05, allocations: 1.472 MB / 1.137 GB, free: 25.53 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)