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.0009243/0.0009246, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001147/0.001147, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.735/1.735, allocations: 292.5 MB / 0.5497 GB, free: 14.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.0005804/0.0005806, allocations: 11.06 kB / 0.6735 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2776, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.000905/0.2785, allocations: 453.7 kB / 0.7875 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.2804, allocations: 1.504 MB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.2805, allocations: 0 / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.2805, allocations: 7.938 kB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.2807, allocations: 19.91 kB / 0.789 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.2811, allocations: 119.7 kB / 0.7892 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.2812, allocations: 71.89 kB / 0.7892 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.789e-05/0.2813, allocations: 8 kB / 0.7892 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.2814, allocations: 51.83 kB / 0.7893 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.934e-05/0.2815, allocations: 47.77 kB / 0.7893 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.2815, allocations: 4 kB / 0.7893 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.2817, allocations: 71.94 kB / 0.7894 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.2817, allocations: 15.92 kB / 0.7894 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.2818, allocations: 37.7 kB / 0.7894 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.282, allocations: 147.9 kB / 0.7896 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.282, allocations: 0 / 0.7896 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.282, allocations: 0 / 0.7896 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.282, allocations: 4 kB / 0.7896 GB, free: 9.41 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.0006435/0.2827, allocations: 411 kB / 0.79 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.2827, allocations: 11.97 kB / 0.79 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.768e-05/0.2828, allocations: 7.906 kB / 0.79 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.283, allocations: 179 kB / 0.7902 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.121e-05/0.2831, allocations: 37.7 kB / 0.7902 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.2831, allocations: 8 kB / 0.7902 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.2833, allocations: 99.34 kB / 0.7903 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2833, allocations: 0 / 0.7903 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.2834, allocations: 4 kB / 0.7903 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.2834, allocations: 7.922 kB / 0.7903 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.899e-05/0.2835, allocations: 39.98 kB / 0.7904 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006459/0.2841, allocations: 0.532 MB / 0.7909 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.2846, allocations: 139.8 kB / 0.791 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.2846, allocations: 0 / 0.791 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.2849, allocations: 114 kB / 0.7911 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.2849, allocations: 0 / 0.7911 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0003056/0.2852, allocations: 149.4 kB / 0.7913 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.2852, allocations: 106.8 kB / 0.7914 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.898e-05/0.2853, allocations: 121.8 kB / 0.7915 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.2854, allocations: 29.83 kB / 0.7915 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.2854, allocations: 96.41 kB / 0.7916 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.2855, allocations: 31.62 kB / 0.7916 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/0.2855, allocations: 4 kB / 0.7916 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2856, allocations: 322.8 kB / 0.7919 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/0.2857, allocations: 35.92 kB / 0.792 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-05/0.2858, allocations: 35.98 kB / 0.792 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.227e-05/0.2859, allocations: 35.98 kB / 0.7921 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2859, allocations: 0 / 0.7921 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002261/0.2861, allocations: 133.5 kB / 0.7922 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2861, allocations: 4 kB / 0.7922 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2861, allocations: 0 / 0.7922 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.2862, allocations: 4 kB / 0.7922 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.2863, allocations: 19.92 kB / 0.7922 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.2863, allocations: 7.953 kB / 0.7922 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.452e-05/0.2864, allocations: 15.84 kB / 0.7922 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.2864, allocations: 7.984 kB / 0.7922 GB, free: 6.426 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 ($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.0001122/0.2865, allocations: 128.3 kB / 0.7924 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.2866, allocations: 11.84 kB / 0.7924 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.2868, allocations: 114 kB / 0.7925 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.2868, allocations: 240 / 0.7925 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2868, allocations: 0 / 0.7925 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.2868, allocations: 11.94 kB / 0.7925 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.287, allocations: 217.5 kB / 0.7927 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.287, allocations: 3.938 kB / 0.7927 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.991e-05/0.2871, allocations: 27.92 kB / 0.7927 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2871, allocations: 0 / 0.7927 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.2872, allocations: 4 kB / 0.7927 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2872, allocations: 320 / 0.7927 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2872, allocations: 0 / 0.7927 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.2874, allocations: 208.3 kB / 0.7929 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.2875, allocations: 100.9 kB / 0.793 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.2875, allocations: 4 kB / 0.793 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.899e-05/0.2876, allocations: 15.94 kB / 0.793 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.2877, allocations: 15.92 kB / 0.7931 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.2877, allocations: 4 kB / 0.7931 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.244e-05/0.2878, allocations: 107.3 kB / 0.7932 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2878, allocations: 0 / 0.7932 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002617/0.288, allocations: 51.92 kB / 0.7932 GB, free: 5.305 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 (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.0002162/0.2883, allocations: 151.2 kB / 0.7934 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.2885, allocations: 91.91 kB / 0.7934 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2885, allocations: 0 / 0.7934 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.65e-05/0.2886, allocations: 55.91 kB / 0.7935 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.2887, allocations: 12 kB / 0.7935 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.2892, allocations: 283 kB / 0.7938 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.2895, allocations: 0.7004 MB / 0.7945 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.791e-05/0.2896, allocations: 12.55 kB / 0.7945 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.2896, allocations: 19.44 kB / 0.7945 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2896, allocations: 0 / 0.7945 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of Templates: time 0.004101/0.2937, allocations: 1.585 MB / 0.796 GB, free: 2.344 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: