Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.371/1.371, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 183.9 kB / 327.3 MB, free: 2.18 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.4 MB / 0.5783 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007455/0.0007456, allocations: 85.25 kB / 0.6829 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003403, allocations: 8.312 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2157, allocations: 106.3 MB / 0.9008 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0008958/0.2167, allocations: 459.1 kB / 0.9013 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001779/0.2185, allocations: 1.514 MB / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.2185, allocations: 0 / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.2186, allocations: 3.938 kB / 0.9027 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.2187, allocations: 23.84 kB / 0.9028 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.219, allocations: 123.7 kB / 0.9029 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.2191, allocations: 103.6 kB / 0.903 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.795e-05/0.2192, allocations: 15.98 kB / 0.903 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.2194, allocations: 43.89 kB / 0.903 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.942e-05/0.2195, allocations: 47.81 kB / 0.9031 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.2195, allocations: 4 kB / 0.9031 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.2196, allocations: 71.89 kB / 0.9032 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.2197, allocations: 11.98 kB / 0.9032 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.294e-05/0.2197, allocations: 37.64 kB / 0.9032 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.2199, allocations: 148 kB / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.2199, allocations: 0 / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.946e-06/0.2199, allocations: 0 / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.2199, allocations: 0 / 0.9033 GB, free: 61.62 MB / 0.6042 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.0006753/0.2206, allocations: 407 kB / 0.9037 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2206, allocations: 12.03 kB / 0.9037 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.2207, allocations: 15.84 kB / 0.9038 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.2208, allocations: 182.9 kB / 0.9039 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-05/0.2209, allocations: 33.7 kB / 0.904 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.2209, allocations: 11.94 kB / 0.904 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.2211, allocations: 96.22 kB / 0.9041 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2211, allocations: 0 / 0.9041 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.2212, allocations: 0 / 0.9041 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2212, allocations: 4 kB / 0.9041 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.396e-05/0.2213, allocations: 47.91 kB / 0.9041 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.2219, allocations: 0.5244 MB / 0.9046 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/0.2223, allocations: 143.7 kB / 0.9048 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.613e-05/0.2224, allocations: 50.59 kB / 0.9048 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.2224, allocations: 0 / 0.9048 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.2226, allocations: 113.9 kB / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.2227, allocations: 0 / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003168/0.223, allocations: 149.4 kB / 0.9051 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.223, allocations: 102.8 kB / 0.9052 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.668e-05/0.2231, allocations: 126 kB / 0.9053 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.2231, allocations: 33.69 kB / 0.9053 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.2232, allocations: 92.39 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.2232, allocations: 35.55 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.2232, allocations: 4 kB / 0.9054 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.242e-05/0.2233, allocations: 314.8 kB / 0.9057 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-05/0.2234, allocations: 35.98 kB / 0.9058 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.075e-05/0.2235, allocations: 38.08 kB / 0.9058 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.921e-05/0.2235, allocations: 40 kB / 0.9059 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2236, allocations: 0 / 0.9059 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002002/0.2238, allocations: 133.5 kB / 0.906 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2238, allocations: 4 kB / 0.906 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2238, allocations: 0 / 0.906 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.2238, allocations: 3.953 kB / 0.906 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.2239, allocations: 19.98 kB / 0.906 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.224, allocations: 0 / 0.906 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.598e-05/0.224, allocations: 11.91 kB / 0.906 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.2241, allocations: 11.98 kB / 0.906 GB, free: 58.58 MB / 0.6042 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 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * 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 7.74e-05/0.2241, allocations: 124 kB / 0.9061 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.2242, allocations: 15.83 kB / 0.9062 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.2244, allocations: 117.9 kB / 0.9063 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2244, allocations: 7.953 kB / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2244, allocations: 4 kB / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2244, allocations: 0 / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.2245, allocations: 217.5 kB / 0.9065 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2246, allocations: 3.938 kB / 0.9065 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.694e-05/0.2247, allocations: 20.3 kB / 0.9065 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2247, allocations: 4 kB / 0.9065 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.2247, allocations: 4 kB / 0.9065 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.2247, allocations: 4 kB / 0.9065 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2247, allocations: 7.891 kB / 0.9065 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.2249, allocations: 177.2 kB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.225, allocations: 100.9 kB / 0.9068 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.225, allocations: 4 kB / 0.9068 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.2251, allocations: 11.98 kB / 0.9068 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.2251, allocations: 15.94 kB / 0.9068 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.2251, allocations: 4 kB / 0.9068 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.146e-05/0.2252, allocations: 104.9 kB / 0.9069 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2252, allocations: 0 / 0.9069 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000239/0.2254, allocations: 59.92 kB / 0.907 GB, free: 57.49 MB / 0.6042 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 (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.000204/0.2257, allocations: 155.1 kB / 0.9071 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.2259, allocations: 99.84 kB / 0.9072 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2259, allocations: 0 / 0.9072 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.079e-05/0.226, allocations: 51.91 kB / 0.9073 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.2262, allocations: 17.69 kB / 0.9073 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.2266, allocations: 293.1 kB / 0.9076 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.2267, allocations: 0.6965 MB / 0.9083 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.2268, allocations: 23.42 kB / 0.9083 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2268, allocations: 0 / 0.9083 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.003/0.2298, allocations: 1.801 MB / 0.91 GB, free: 54.29 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)