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.633/1.633, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001297/0.001297, allocations: 176.9 kB / 361.4 MB, free: 6.848 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.844/1.844, allocations: 205.2 MB / 0.62 GB, free: 11.68 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.000837/0.0008369, allocations: 93.67 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.191e-05/2.194e-05, allocations: 4 kB / 0.8517 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8023/0.8023, allocations: 115.3 MB / 0.9643 GB, free: 78.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2053/1.008, allocations: 138.2 MB / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/1.008, allocations: 68.75 kB / 1.099 GB, free: 1.586 MB / 0.698 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.01032/1.018, allocations: 3.31 MB / 1.103 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.303e-06/1.018, allocations: 0 / 1.103 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.361e-05/1.018, allocations: 4 kB / 1.103 GB, free: 14.34 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.0006239/1.019, allocations: 410.8 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/1.019, allocations: 8.031 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/1.019, allocations: 8.938 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/1.019, allocations: 182.9 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/1.019, allocations: 0 / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/1.019, allocations: 4 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001158/1.019, allocations: 40 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/1.02, allocations: 90.11 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/1.02, allocations: 7.984 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/1.02, allocations: 0 / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/1.02, allocations: 7.938 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006504/1.02, allocations: 493.5 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/1.021, allocations: 134.4 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.426e-05/1.021, allocations: 38.77 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/1.021, allocations: 7.984 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/1.021, allocations: 107.9 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/1.021, allocations: 0 / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0007736/1.022, allocations: 157.4 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/1.022, allocations: 110.9 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/1.022, allocations: 116.9 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/1.022, allocations: 29.7 kB / 1.105 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/1.022, allocations: 100.3 kB / 1.105 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/1.022, allocations: 23.66 kB / 1.105 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/1.022, allocations: 0 / 1.105 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.022, allocations: 322.8 kB / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.848e-05/1.023, allocations: 28 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.639e-05/1.023, allocations: 51.81 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007464/1.023, allocations: 122.3 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.023, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008531/1.024, allocations: 201.4 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.024, allocations: 9.078 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.024, allocations: 4.688 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/1.024, allocations: 0 / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/1.024, allocations: 19.92 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/1.024, allocations: 2.031 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.8e-05/1.025, allocations: 19.84 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/1.025, allocations: 7.375 kB / 1.105 GB, free: 11.28 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): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * 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.948e-05/1.025, allocations: 114.6 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/1.025, allocations: 11.98 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/1.025, allocations: 106.1 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.025, allocations: 9.031 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.025, allocations: 0 / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.025, allocations: 3.984 kB / 1.106 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/1.025, allocations: 186.1 kB / 1.106 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.025, allocations: 0 / 1.106 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.314e-05/1.025, allocations: 27.92 kB / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.025, allocations: 0 / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/1.025, allocations: 0 / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/1.025, allocations: 4 kB / 1.106 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.025, allocations: 3.938 kB / 1.106 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006542/1.026, allocations: 238 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.338e-05/1.026, allocations: 108.6 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/1.026, allocations: 4 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.949e-05/1.026, allocations: 4 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/1.026, allocations: 19.98 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/1.026, allocations: 15.88 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.827e-05/1.026, allocations: 97.16 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.026, allocations: 0 / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002797/1.027, allocations: 51.92 kB / 1.106 GB, free: 10.2 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.0002551/1.027, allocations: 154.9 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000567/1.027, allocations: 0.7648 MB / 1.107 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.027, allocations: 0 / 1.107 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.57e-05/1.028, allocations: 43.94 kB / 1.107 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/1.028, allocations: 5.125 kB / 1.107 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/1.028, allocations: 151.1 kB / 1.107 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/1.028, allocations: 0.7119 MB / 1.108 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.033e-05/1.029, allocations: 13.09 kB / 1.108 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/1.029, allocations: 19.44 kB / 1.108 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/1.029, allocations: 0 / 1.108 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of Templates: time 0.003878/1.032, allocations: 1.463 MB / 1.11 GB, free: 6.84 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)