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: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 188.6 kB / 16.62 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.436/1.436, allocations: 205.1 MB / 222.5 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.81/1.81, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.001726/0.001726, allocations: 67.89 kB / 0.6718 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2319, allocations: 114.6 MB / 0.7836 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002283/0.2343, allocations: 0.744 MB / 0.7844 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.2363, allocations: 1.561 MB / 0.7859 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.874e-05/0.2364, allocations: 4 kB / 0.7859 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.272e-05/0.2365, allocations: 3.938 kB / 0.7859 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.2367, allocations: 27.78 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.2372, allocations: 151.5 kB / 0.7861 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.2374, allocations: 119.6 kB / 0.7862 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.2375, allocations: 19.98 kB / 0.7862 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.2376, allocations: 43.91 kB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.2377, allocations: 51.81 kB / 0.7863 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.2377, allocations: 12 kB / 0.7863 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.238, allocations: 103.9 kB / 0.7864 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.383e-05/0.238, allocations: 31.84 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.975e-05/0.2381, allocations: 43.8 kB / 0.7865 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.2384, allocations: 195.8 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2384, allocations: 8 kB / 0.7867 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2384, allocations: 4 kB / 0.7867 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.2384, allocations: 0 / 0.7867 GB, free: 10.19 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.000746/0.2392, allocations: 427.1 kB / 0.7871 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2392, allocations: 8.031 kB / 0.7871 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.2393, allocations: 34.75 kB / 0.7871 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.2393, allocations: 16.84 kB / 0.7871 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.2395, allocations: 180.2 kB / 0.7873 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.03e-05/0.2396, allocations: 34.27 kB / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.2396, allocations: 4.375 kB / 0.7873 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.2398, allocations: 107.3 kB / 0.7874 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2398, allocations: 0 / 0.7874 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.2398, allocations: 0 / 0.7874 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2398, allocations: 4 kB / 0.7874 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.2399, allocations: 47.92 kB / 0.7875 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006783/0.2406, allocations: 0.5204 MB / 0.788 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.2411, allocations: 131.7 kB / 0.7881 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.712e-05/0.2412, allocations: 46.66 kB / 0.7882 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.2412, allocations: 8.062 kB / 0.7882 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/0.2415, allocations: 113.9 kB / 0.7883 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.2415, allocations: 0 / 0.7883 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.000329/0.2419, allocations: 137.5 kB / 0.7884 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.2419, allocations: 114.8 kB / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.242, allocations: 129.8 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.2421, allocations: 29.7 kB / 0.7887 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/0.2421, allocations: 92.41 kB / 0.7888 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.2422, allocations: 27.56 kB / 0.7888 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.647e-05/0.2422, allocations: 37.7 kB / 0.7888 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2424, allocations: 322.8 kB / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.821e-05/0.2425, allocations: 35.98 kB / 0.7892 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.351e-05/0.2426, allocations: 39.08 kB / 0.7892 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.2428, allocations: 88.7 kB / 0.7893 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2428, allocations: 0 / 0.7893 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002549/0.2431, allocations: 121.6 kB / 0.7894 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2431, allocations: 4 kB / 0.7894 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.2431, allocations: 0 / 0.7894 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.2431, allocations: 0 / 0.7894 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.2432, allocations: 31.86 kB / 0.7894 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2433, allocations: 3.984 kB / 0.7894 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.593e-05/0.2434, allocations: 19.78 kB / 0.7895 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.2434, allocations: 4 kB / 0.7895 GB, free: 7.02 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.0001208/0.2435, allocations: 129.6 kB / 0.7896 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.2435, allocations: 7.906 kB / 0.7896 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.2438, allocations: 114 kB / 0.7897 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.2438, allocations: 4 kB / 0.7897 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2438, allocations: 0 / 0.7897 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.2438, allocations: 12.16 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.2441, allocations: 217.5 kB / 0.7899 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2441, allocations: 0 / 0.7899 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.678e-05/0.2442, allocations: 23.92 kB / 0.7899 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.2442, allocations: 4 kB / 0.79 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.2442, allocations: 3.984 kB / 0.79 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.2442, allocations: 0 / 0.79 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2442, allocations: 7.938 kB / 0.79 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.2445, allocations: 177.4 kB / 0.7901 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.101e-05/0.2446, allocations: 104.9 kB / 0.7902 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.2446, allocations: 4 kB / 0.7902 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.394e-05/0.2447, allocations: 7.984 kB / 0.7902 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.2448, allocations: 23.86 kB / 0.7903 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.2448, allocations: 4 kB / 0.7903 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.467e-05/0.2449, allocations: 99.27 kB / 0.7904 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2449, allocations: 4 kB / 0.7904 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002942/0.2452, allocations: 55.94 kB / 0.7904 GB, free: 5.934 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.0006753/0.2458, allocations: 0.7545 MB / 0.7912 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.2461, allocations: 103.9 kB / 0.7913 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2461, allocations: 0 / 0.7913 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/0.2462, allocations: 47.92 kB / 0.7913 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.2464, allocations: 23.92 kB / 0.7913 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.2483, allocations: 1.536 MB / 0.7928 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.2487, allocations: 0.7079 MB / 0.7935 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.659e-05/0.2488, allocations: 8.562 kB / 0.7935 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.476e-05/0.2488, allocations: 35.86 kB / 0.7936 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.2488, allocations: 7.938 kB / 0.7936 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.2689, allocations: 2.961 MB / 0.7965 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/7.773, allocations: 2.5 kB / 0.7965 GB, free: 15.71 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)