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.85/1.85, allocations: 288.3 MB / 303.2 MB, free: 8.055 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.001705/0.001705, allocations: 192.1 kB / 371.9 MB, free: 10.3 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.912/1.912, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 95.42 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006006/0.0006005, allocations: 10.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2543, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8048/1.059, allocations: 139 MB / 1.115 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/1.059, allocations: 68.12 kB / 1.115 GB, free: 16.45 MB / 0.6823 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.01049/1.07, allocations: 3.333 MB / 1.118 GB, free: 31.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.817e-06/1.07, allocations: 0 / 1.118 GB, free: 31.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.234e-05/1.07, allocations: 0 / 1.118 GB, free: 31.98 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.0008018/1.071, allocations: 428.3 kB / 1.119 GB, free: 31.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/1.071, allocations: 7.812 kB / 1.119 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/1.071, allocations: 10.62 kB / 1.119 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/1.071, allocations: 170.9 kB / 1.119 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-05/1.071, allocations: 42.98 kB / 1.119 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/1.071, allocations: 11.28 kB / 1.119 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/1.072, allocations: 96.7 kB / 1.119 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/1.072, allocations: 3.938 kB / 1.119 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/1.072, allocations: 3.125 kB / 1.119 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/1.072, allocations: 3.906 kB / 1.119 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/1.072, allocations: 48.28 kB / 1.119 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009301/1.073, allocations: 0.5133 MB / 1.12 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/1.073, allocations: 139.6 kB / 1.12 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/1.073, allocations: 0 / 1.12 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/1.073, allocations: 115 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/1.073, allocations: 3.844 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0003368/1.074, allocations: 135.3 kB / 1.12 GB, free: 30.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/1.074, allocations: 109.4 kB / 1.12 GB, free: 30.51 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/1.074, allocations: 123.4 kB / 1.12 GB, free: 30.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/1.074, allocations: 33.17 kB / 1.12 GB, free: 30.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.068e-05/1.074, allocations: 93.89 kB / 1.12 GB, free: 30.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/1.074, allocations: 37.48 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/1.074, allocations: 3.25 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.074, allocations: 317 kB / 1.121 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.825e-05/1.074, allocations: 35.58 kB / 1.121 GB, free: 29.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.1e-05/1.075, allocations: 50.55 kB / 1.121 GB, free: 29.94 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.768e-05/1.075, allocations: 30.52 kB / 1.121 GB, free: 29.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.075, allocations: 0 / 1.121 GB, free: 29.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000239/1.075, allocations: 134.7 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.075, allocations: 6.984 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.075, allocations: 3.844 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.075, allocations: 0 / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/1.075, allocations: 18.14 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/1.075, allocations: 3.984 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/1.075, allocations: 22.55 kB / 1.121 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/1.075, allocations: 7.438 kB / 1.121 GB, free: 29.88 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.0001321/1.075, allocations: 130.2 kB / 1.121 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/1.075, allocations: 7.781 kB / 1.121 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/1.076, allocations: 108.1 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/1.076, allocations: 3.844 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.076, allocations: 0 / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/1.076, allocations: 2.531 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/1.076, allocations: 223.4 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/1.076, allocations: 7.844 kB / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/1.076, allocations: 18.06 kB / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/1.076, allocations: 144 / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/1.076, allocations: 10.56 kB / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/1.076, allocations: 320 / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.076, allocations: 0 / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/1.076, allocations: 211.7 kB / 1.122 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.657e-05/1.076, allocations: 102.1 kB / 1.122 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/1.076, allocations: 6.719 kB / 1.122 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-05/1.076, allocations: 7.031 kB / 1.122 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/1.077, allocations: 21.36 kB / 1.122 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/1.077, allocations: 3.875 kB / 1.122 GB, free: 29.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.409e-05/1.077, allocations: 97.11 kB / 1.122 GB, free: 29.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.077, allocations: 4 kB / 1.122 GB, free: 29.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002987/1.077, allocations: 60.25 kB / 1.122 GB, free: 29.18 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.0002576/1.077, allocations: 159 kB / 1.122 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002059/1.077, allocations: 91.72 kB / 1.122 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/1.077, allocations: 0 / 1.122 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.102e-05/1.078, allocations: 53.8 kB / 1.122 GB, free: 29.06 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/1.078, allocations: 7.203 kB / 1.122 GB, free: 29.06 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/1.078, allocations: 265.2 kB / 1.123 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/1.078, allocations: 0.7075 MB / 1.123 GB, free: 28.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.691e-05/1.079, allocations: 15.73 kB / 1.123 GB, free: 28.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/1.079, allocations: 18.08 kB / 1.123 GB, free: 28.16 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/1.079, allocations: 0 / 1.123 GB, free: 28.16 MB / 0.698 GB Notification: Performance of Templates: time 0.004059/1.083, allocations: 1.47 MB / 1.125 GB, free: 28.03 MB / 0.698 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)