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.001182/0.001182, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001259/0.001259, allocations: 190.9 kB / 16.25 MB, free: 6.625 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.748/1.748, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.868/1.868, allocations: 292.2 MB / 0.5485 GB, free: 13.6 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.001666/0.001666, allocations: 69.14 kB / 0.671 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.318, allocations: 114.5 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.00242/0.3205, allocations: 0.805 MB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.3228, allocations: 1.562 MB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.202e-05/0.3229, allocations: 4 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.888e-05/0.323, allocations: 0 / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.3232, allocations: 15.84 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005598/0.3238, allocations: 139.7 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.3239, allocations: 119.6 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3241, allocations: 19.97 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.3242, allocations: 43.92 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.3243, allocations: 55.75 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.3244, allocations: 12 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.3246, allocations: 83.95 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.135e-05/0.3246, allocations: 39.83 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.035e-05/0.3247, allocations: 43.8 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.325, allocations: 191.8 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.325, allocations: 0 / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.325, allocations: 0 / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.325, allocations: 0 / 0.7859 GB, free: 10.73 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.0007954/0.3258, allocations: 427.1 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3259, allocations: 12.03 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.981e-05/0.326, allocations: 8.844 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.3261, allocations: 184.1 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.926e-05/0.3262, allocations: 34.27 kB / 0.7865 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.3262, allocations: 4.375 kB / 0.7865 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.3265, allocations: 108.3 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3265, allocations: 0 / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.3265, allocations: 8 kB / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3265, allocations: 0 / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.3266, allocations: 43.92 kB / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006867/0.3273, allocations: 0.5166 MB / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005266/0.3279, allocations: 139.7 kB / 0.7873 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.43e-05/0.3279, allocations: 42.66 kB / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.328, allocations: 7.938 kB / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003145/0.3283, allocations: 114 kB / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.3283, allocations: 4 kB / 0.7875 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0003748/0.3287, allocations: 145.4 kB / 0.7876 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/0.3288, allocations: 110.8 kB / 0.7877 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.3289, allocations: 121.8 kB / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.329, allocations: 33.7 kB / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/0.329, allocations: 88.41 kB / 0.788 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.3291, allocations: 27.56 kB / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.415e-05/0.3291, allocations: 41.81 kB / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3293, allocations: 322.8 kB / 0.7883 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.741e-05/0.3294, allocations: 31.98 kB / 0.7884 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.229e-05/0.3295, allocations: 39.97 kB / 0.7884 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.3297, allocations: 83.95 kB / 0.7885 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3297, allocations: 0 / 0.7885 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002517/0.33, allocations: 129.5 kB / 0.7886 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.33, allocations: 4 kB / 0.7886 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.33, allocations: 0 / 0.7886 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.33, allocations: 11.98 kB / 0.7886 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.3301, allocations: 19.92 kB / 0.7886 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3302, allocations: 4 kB / 0.7886 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.944e-05/0.3303, allocations: 16.09 kB / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.3303, allocations: 7.938 kB / 0.7887 GB, free: 7.594 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.0001344/0.3304, allocations: 133.5 kB / 0.7888 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.3305, allocations: 4 kB / 0.7888 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.3307, allocations: 113.9 kB / 0.7889 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3307, allocations: 7.984 kB / 0.7889 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3307, allocations: 0 / 0.7889 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3307, allocations: 0 / 0.7889 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.331, allocations: 221.5 kB / 0.7891 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.331, allocations: 4 kB / 0.7891 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.261e-05/0.3311, allocations: 16 kB / 0.7891 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.3311, allocations: 11.98 kB / 0.7892 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.3311, allocations: 0 / 0.7892 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.3311, allocations: 4 kB / 0.7892 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.3311, allocations: 3.938 kB / 0.7892 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.3314, allocations: 174.6 kB / 0.7893 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.61e-05/0.3315, allocations: 100.9 kB / 0.7894 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.3316, allocations: 8 kB / 0.7894 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.978e-05/0.3317, allocations: 12.22 kB / 0.7894 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.3317, allocations: 15.92 kB / 0.7895 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.3317, allocations: 4 kB / 0.7895 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.24e-05/0.3318, allocations: 99.27 kB / 0.7896 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3318, allocations: 0 / 0.7896 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002983/0.3321, allocations: 55.94 kB / 0.7896 GB, free: 6.52 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.000278/0.3324, allocations: 171 kB / 0.7898 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002614/0.3327, allocations: 102.7 kB / 0.7899 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3327, allocations: 0 / 0.7899 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.718e-05/0.3328, allocations: 55.91 kB / 0.7899 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.333, allocations: 8 kB / 0.7899 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/0.3336, allocations: 273 kB / 0.7902 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.3339, allocations: 0.7002 MB / 0.7909 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.73e-05/0.3339, allocations: 20.3 kB / 0.7909 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.334, allocations: 19.44 kB / 0.7909 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.334, allocations: 0 / 0.7909 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of Templates: time 0.004802/0.3388, allocations: 1.687 MB / 0.7926 GB, free: 3.441 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)