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.529/2.529, allocations: 285 MB / 292.5 MB, free: 10.55 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.001443/0.001442, allocations: 180.9 kB / 360.7 MB, free: 7.242 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.044/2.044, allocations: 205.3 MB / 0.6193 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009859/0.000986, allocations: 94.14 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.063e-05/2.086e-05, allocations: 4 kB / 0.8509 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8846/0.8846, allocations: 115.2 MB / 0.9634 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2698/1.154, allocations: 138.1 MB / 1.098 GB, free: 2.398 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/1.155, allocations: 71.95 kB / 1.098 GB, free: 2.328 MB / 0.698 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.01688/1.172, allocations: 3.303 MB / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.503e-06/1.172, allocations: 1.844 kB / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.784e-06/1.172, allocations: 0 / 1.102 GB, free: 15.09 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.0007655/1.173, allocations: 409.6 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/1.173, allocations: 8.031 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/1.173, allocations: 9.109 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/1.173, allocations: 175 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/1.173, allocations: 0 / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/1.173, allocations: 4 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001664/1.173, allocations: 50.98 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/1.173, allocations: 92.16 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/1.173, allocations: 4 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/1.173, allocations: 0 / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/1.173, allocations: 0 / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008013/1.174, allocations: 0.4935 MB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007195/1.175, allocations: 135.8 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/1.175, allocations: 38.58 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/1.175, allocations: 0.9375 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002661/1.175, allocations: 114 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.885e-06/1.175, allocations: 0 / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001085/1.177, allocations: 157.4 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/1.177, allocations: 110.8 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/1.177, allocations: 116.9 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/1.177, allocations: 33.73 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/1.177, allocations: 92.33 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/1.177, allocations: 31.7 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/1.177, allocations: 0 / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.177, allocations: 320 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.551e-05/1.177, allocations: 28 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/1.177, allocations: 42.56 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/1.179, allocations: 127.8 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.179, allocations: 0 / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001462/1.18, allocations: 202.1 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/1.18, allocations: 4 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/1.18, allocations: 6.422 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/1.18, allocations: 1.75 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/1.18, allocations: 19.92 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/1.18, allocations: 0 / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/1.181, allocations: 23.78 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/1.181, allocations: 4 kB / 1.104 GB, free: 12.02 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 0.0001279/1.181, allocations: 120 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/1.181, allocations: 7.906 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/1.181, allocations: 107.2 kB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/1.181, allocations: 4 kB / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.181, allocations: 0 / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.181, allocations: 4.141 kB / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/1.182, allocations: 186.1 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.182, allocations: 6.312 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/1.182, allocations: 23.92 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/1.182, allocations: 4 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/1.182, allocations: 3.984 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/1.182, allocations: 4 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.182, allocations: 0 / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/1.183, allocations: 243.5 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/1.183, allocations: 100.9 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/1.183, allocations: 4 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/1.183, allocations: 7.984 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/1.183, allocations: 15.94 kB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/1.183, allocations: 15.94 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.775e-05/1.184, allocations: 100.8 kB / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-07/1.184, allocations: 0 / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004585/1.184, allocations: 47.94 kB / 1.105 GB, free: 10.94 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.0003363/1.184, allocations: 147.2 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008084/1.185, allocations: 0.7589 MB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.185, allocations: 8.031 kB / 1.106 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/1.185, allocations: 47.92 kB / 1.106 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/1.186, allocations: 4.688 kB / 1.106 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/1.186, allocations: 149.1 kB / 1.106 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/1.187, allocations: 0.7118 MB / 1.107 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001251/1.187, allocations: 10.58 kB / 1.107 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/1.187, allocations: 23.42 kB / 1.107 GB, free: 9 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/1.187, allocations: 0 / 1.107 GB, free: 9 MB / 0.7136 GB Notification: Performance of Templates: time 0.00646/1.193, allocations: 1.46 MB / 1.108 GB, free: 7.59 MB / 0.7136 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)