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.001137/0.001136, allocations: 109.9 kB / 15.99 MB, free: 6.355 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.001137/0.001137, allocations: 191.9 kB / 16.91 MB, free: 6.195 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.565/1.565, allocations: 205.1 MB / 222.8 MB, free: 4.555 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.667/1.667, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001309/0.001309, allocations: 71.89 kB / 0.6716 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2054, allocations: 114.5 MB / 0.7835 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002048/0.2075, allocations: 0.8071 MB / 0.7843 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.2093, allocations: 1.562 MB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/0.2094, allocations: 4 kB / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.2095, allocations: 3.938 kB / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.2096, allocations: 15.84 kB / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.21, allocations: 135.7 kB / 0.786 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.2101, allocations: 119.6 kB / 0.7861 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.2102, allocations: 23.98 kB / 0.7861 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.2104, allocations: 47.89 kB / 0.7862 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.977e-05/0.2105, allocations: 55.81 kB / 0.7862 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.2105, allocations: 12 kB / 0.7862 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.2106, allocations: 79.95 kB / 0.7863 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.873e-05/0.2107, allocations: 23.92 kB / 0.7863 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.428e-05/0.2107, allocations: 51.78 kB / 0.7864 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.2109, allocations: 159.8 kB / 0.7865 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.211, allocations: 4 kB / 0.7865 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.211, allocations: 0 / 0.7865 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.211, allocations: 0 / 0.7865 GB, free: 10.82 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.0006844/0.2117, allocations: 419.1 kB / 0.7869 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.2117, allocations: 12.03 kB / 0.7869 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.2118, allocations: 8.844 kB / 0.7869 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.2119, allocations: 176.2 kB / 0.7871 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.451e-05/0.212, allocations: 38.2 kB / 0.7871 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.212, allocations: 8.375 kB / 0.7872 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.2122, allocations: 104.3 kB / 0.7873 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2122, allocations: 0 / 0.7873 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.2122, allocations: 4 kB / 0.7873 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.2122, allocations: 4 kB / 0.7873 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.43e-05/0.2123, allocations: 39.97 kB / 0.7873 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.213, allocations: 0.5204 MB / 0.7878 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/0.2134, allocations: 131.8 kB / 0.7879 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.526e-05/0.2135, allocations: 46.66 kB / 0.788 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.2135, allocations: 8.062 kB / 0.788 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.2138, allocations: 117.9 kB / 0.7881 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.2138, allocations: 3.938 kB / 0.7881 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0003121/0.2141, allocations: 141.5 kB / 0.7882 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.2142, allocations: 110.8 kB / 0.7883 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.897e-05/0.2143, allocations: 133.9 kB / 0.7885 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.2143, allocations: 29.7 kB / 0.7885 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.2143, allocations: 88.42 kB / 0.7886 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.2144, allocations: 31.55 kB / 0.7886 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/0.2144, allocations: 33.7 kB / 0.7886 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2146, allocations: 322.8 kB / 0.789 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.625e-05/0.2146, allocations: 35.98 kB / 0.789 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.739e-05/0.2147, allocations: 35.98 kB / 0.789 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.2149, allocations: 87.95 kB / 0.7891 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2149, allocations: 0 / 0.7891 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002403/0.2152, allocations: 133.7 kB / 0.7892 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.2152, allocations: 4 kB / 0.7892 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2152, allocations: 0 / 0.7892 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2152, allocations: 4 kB / 0.7892 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.2153, allocations: 19.97 kB / 0.7893 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.2153, allocations: 0 / 0.7893 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.633e-05/0.2154, allocations: 23.83 kB / 0.7893 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.2155, allocations: 11.94 kB / 0.7893 GB, free: 7.691 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 9.199e-05/0.2156, allocations: 125.3 kB / 0.7894 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.2156, allocations: 4 kB / 0.7894 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.2158, allocations: 113.9 kB / 0.7895 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2158, allocations: 8 kB / 0.7895 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2159, allocations: 0 / 0.7895 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2159, allocations: 0 / 0.7895 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.216, allocations: 221.5 kB / 0.7897 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2161, allocations: 4 kB / 0.7897 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.931e-05/0.2161, allocations: 15.98 kB / 0.7898 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2162, allocations: 4 kB / 0.7898 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.2162, allocations: 4 kB / 0.7898 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.2162, allocations: 4 kB / 0.7898 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2162, allocations: 0 / 0.7898 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.2164, allocations: 178.8 kB / 0.7899 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.2165, allocations: 104.9 kB / 0.79 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.2165, allocations: 7.984 kB / 0.7901 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.2166, allocations: 8 kB / 0.7901 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.2167, allocations: 15.92 kB / 0.7901 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.2167, allocations: 8 kB / 0.7901 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.254e-05/0.2168, allocations: 99.27 kB / 0.7902 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2168, allocations: 0 / 0.7902 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002687/0.217, allocations: 63.86 kB / 0.7902 GB, free: 6.617 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.0002228/0.2173, allocations: 159 kB / 0.7904 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.2175, allocations: 103.9 kB / 0.7905 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2175, allocations: 0 / 0.7905 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.644e-05/0.2176, allocations: 55.92 kB / 0.7905 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.2178, allocations: 12.14 kB / 0.7906 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.2183, allocations: 301.4 kB / 0.7908 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.2185, allocations: 0.7041 MB / 0.7915 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.2186, allocations: 23.42 kB / 0.7915 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2186, allocations: 0 / 0.7915 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of Templates: time 0.003247/0.2219, allocations: 1.81 MB / 0.7933 GB, free: 3.398 MB / 0.6075 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)