Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.041/3.041, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.003079/0.003079, allocations: 195.1 kB / 370.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.2/2.2, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001573/0.001573, allocations: 97.77 kB / 0.7428 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005007, allocations: 11.66 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.231, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001087/0.2321, allocations: 449.6 kB / 0.9786 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002166/0.2343, allocations: 1.484 MB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.2344, allocations: 11.88 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.2345, allocations: 0 / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.2347, allocations: 19.91 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.2351, allocations: 111.7 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.2353, allocations: 63.92 kB / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2354, allocations: 15.98 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.2355, allocations: 43.84 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.2357, allocations: 35.83 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.2357, allocations: 4 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.2359, allocations: 75.88 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.236, allocations: 15.92 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.236, allocations: 41.7 kB / 0.9805 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.2363, allocations: 139.9 kB / 0.9806 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2363, allocations: 0 / 0.9806 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2363, allocations: 0 / 0.9806 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.2363, allocations: 0 / 0.9806 GB, free: 25.85 MB / 0.6198 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.0008249/0.2372, allocations: 407.1 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.2372, allocations: 8.031 kB / 0.981 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/0.2373, allocations: 11.91 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.2374, allocations: 182.9 kB / 0.9812 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.011e-05/0.2375, allocations: 29.7 kB / 0.9812 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.2375, allocations: 8 kB / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.2378, allocations: 97.34 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2378, allocations: 7.938 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.2378, allocations: 4 kB / 0.9813 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2379, allocations: 4 kB / 0.9813 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.238, allocations: 43.97 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007255/0.2388, allocations: 0.5243 MB / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/0.2395, allocations: 127.8 kB / 0.982 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.2395, allocations: 8.172 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.2398, allocations: 121.7 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.294e-06/0.2398, allocations: 0 / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004285/0.2402, allocations: 141.5 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.2403, allocations: 106.9 kB / 0.9824 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.2404, allocations: 129.7 kB / 0.9825 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.2405, allocations: 33.7 kB / 0.9825 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.2405, allocations: 92.33 kB / 0.9826 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.2406, allocations: 35.61 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.2406, allocations: 3.938 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.419e-05/0.2407, allocations: 318.8 kB / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.2408, allocations: 31.98 kB / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.241, allocations: 53.7 kB / 0.983 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.2411, allocations: 40.36 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2412, allocations: 0 / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003596/0.2415, allocations: 129.5 kB / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2416, allocations: 4 kB / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.2416, allocations: 4 kB / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.2416, allocations: 3.953 kB / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.2418, allocations: 19.98 kB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.2418, allocations: 4 kB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.242, allocations: 23.83 kB / 0.9833 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.2421, allocations: 4 kB / 0.9833 GB, free: 22.85 MB / 0.6198 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.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 0.0001175/0.2422, allocations: 123.8 kB / 0.9834 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.2422, allocations: 7.906 kB / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.2425, allocations: 117.9 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.2426, allocations: 7.953 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2426, allocations: 0 / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2426, allocations: 0 / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.2428, allocations: 217.5 kB / 0.9837 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.2428, allocations: 4 kB / 0.9837 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.243, allocations: 19.98 kB / 0.9837 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.243, allocations: 4 kB / 0.9838 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.243, allocations: 0 / 0.9838 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.2431, allocations: 8 kB / 0.9838 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2431, allocations: 3.953 kB / 0.9838 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.2434, allocations: 192.6 kB / 0.9839 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.732e-05/0.2435, allocations: 105.1 kB / 0.984 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.2436, allocations: 19.94 kB / 0.9841 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.2437, allocations: 8 kB / 0.9841 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.2438, allocations: 15.98 kB / 0.9841 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.2438, allocations: 11.92 kB / 0.9841 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.114e-05/0.2439, allocations: 101 kB / 0.9842 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2439, allocations: 0 / 0.9842 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000377/0.2443, allocations: 55.94 kB / 0.9843 GB, free: 21.73 MB / 0.6198 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.000299/0.2446, allocations: 155.1 kB / 0.9844 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003128/0.2449, allocations: 91.89 kB / 0.9845 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.2449, allocations: 0 / 0.9845 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.2451, allocations: 47.92 kB / 0.9845 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.2454, allocations: 8 kB / 0.9845 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005865/0.246, allocations: 267.2 kB / 0.9848 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.2461, allocations: 0.7082 MB / 0.9855 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.2463, allocations: 16.88 kB / 0.9855 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.821e-05/0.2464, allocations: 15.44 kB / 0.9855 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of SimCode: time 8.01e-07/0.2464, allocations: 0 / 0.9855 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of Templates: time 0.005862/0.2522, allocations: 1.557 MB / 0.987 GB, free: 18.81 MB / 0.6198 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)