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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009365/0.0009364, allocations: 92.78 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008484/0.008484, allocations: 173 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.4 MB / 222.5 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.87/1.87, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006283/0.0006283, allocations: 10.75 kB / 0.6743 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.308, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.00126/0.3093, allocations: 465.4 kB / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002594/0.3119, allocations: 1.566 MB / 0.7898 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.378e-05/0.312, allocations: 0 / 0.7898 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.312, allocations: 3.938 kB / 0.7899 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.3123, allocations: 15.92 kB / 0.7899 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.3128, allocations: 131.7 kB / 0.79 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.313, allocations: 115.6 kB / 0.7901 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3132, allocations: 19.97 kB / 0.7901 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.3133, allocations: 35.91 kB / 0.7902 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.3135, allocations: 51.77 kB / 0.7902 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.3135, allocations: 4 kB / 0.7902 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.3138, allocations: 75.94 kB / 0.7903 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.3138, allocations: 19.91 kB / 0.7903 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.827e-05/0.3139, allocations: 65.48 kB / 0.7904 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.3142, allocations: 183.7 kB / 0.7905 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3143, allocations: 4 kB / 0.7905 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3143, allocations: 0 / 0.7905 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.3143, allocations: 0 / 0.7905 GB, free: 8.84 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008872/0.3152, allocations: 411.2 kB / 0.7909 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.3152, allocations: 8.031 kB / 0.7909 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.225e-05/0.3153, allocations: 8.844 kB / 0.791 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.3155, allocations: 180.2 kB / 0.7911 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.192e-05/0.3156, allocations: 34.27 kB / 0.7912 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.3156, allocations: 12.38 kB / 0.7912 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.3158, allocations: 104.3 kB / 0.7913 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3158, allocations: 0 / 0.7913 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.3159, allocations: 4 kB / 0.7913 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3159, allocations: 0 / 0.7913 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.316, allocations: 47.91 kB / 0.7913 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008908/0.3169, allocations: 0.5282 MB / 0.7918 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005535/0.3175, allocations: 135.7 kB / 0.792 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.909e-05/0.3176, allocations: 46.66 kB / 0.792 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.3176, allocations: 0 / 0.792 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000333/0.3179, allocations: 121.8 kB / 0.7921 GB, free: 7 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.318, allocations: 0 / 0.7921 GB, free: 7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004611/0.3184, allocations: 141.5 kB / 0.7923 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.3185, allocations: 106.8 kB / 0.7924 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.3187, allocations: 121.8 kB / 0.7925 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.3188, allocations: 33.83 kB / 0.7925 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.119e-05/0.3189, allocations: 96.31 kB / 0.7926 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.3189, allocations: 31.62 kB / 0.7926 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/0.319, allocations: 21.7 kB / 0.7927 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002099/0.3192, allocations: 326.8 kB / 0.793 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.3193, allocations: 31.98 kB / 0.793 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.816e-05/0.3194, allocations: 35.98 kB / 0.793 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.3197, allocations: 83.67 kB / 0.7931 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3197, allocations: 4 kB / 0.7931 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003265/0.32, allocations: 133.5 kB / 0.7932 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.32, allocations: 4 kB / 0.7932 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.3201, allocations: 256 / 0.7932 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.3201, allocations: 4 kB / 0.7932 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.3202, allocations: 23.92 kB / 0.7933 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.3202, allocations: 4 kB / 0.7933 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.3203, allocations: 15.92 kB / 0.7933 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.3204, allocations: 8.125 kB / 0.7933 GB, free: 5.727 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001854/0.3206, allocations: 132.9 kB / 0.7934 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.3206, allocations: 7.906 kB / 0.7934 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/0.3209, allocations: 110 kB / 0.7935 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3209, allocations: 0 / 0.7935 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.321, allocations: 8 kB / 0.7935 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.321, allocations: 0 / 0.7935 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.3213, allocations: 221.4 kB / 0.7938 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3213, allocations: 0 / 0.7938 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.3214, allocations: 23.92 kB / 0.7938 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3214, allocations: 0 / 0.7938 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.3214, allocations: 8 kB / 0.7938 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3214, allocations: 0 / 0.7938 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3214, allocations: 0 / 0.7938 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.3218, allocations: 178.6 kB / 0.794 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.322, allocations: 104.9 kB / 0.7941 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.322, allocations: 4 kB / 0.7941 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.3221, allocations: 8 kB / 0.7941 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.532e-05/0.3222, allocations: 19.86 kB / 0.7941 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.3222, allocations: 8 kB / 0.7941 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000123/0.3223, allocations: 103.3 kB / 0.7942 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3224, allocations: 3.938 kB / 0.7942 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003612/0.3227, allocations: 59.83 kB / 0.7943 GB, free: 4.641 MB / 0.6075 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.not1.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003828/0.3231, allocations: 151.1 kB / 0.7944 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000297/0.3234, allocations: 99.89 kB / 0.7945 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.3234, allocations: 0 / 0.7945 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.3236, allocations: 56.09 kB / 0.7945 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.3238, allocations: 12 kB / 0.7946 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005981/0.3245, allocations: 277.5 kB / 0.7948 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.3249, allocations: 0.7005 MB / 0.7955 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.377e-05/0.325, allocations: 19.8 kB / 0.7955 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.325, allocations: 19.42 kB / 0.7955 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.325, allocations: 4 kB / 0.7955 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of Templates: time 0.005957/0.331, allocations: 1.624 MB / 0.7971 GB, free: 1.633 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: