Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.684/1.684, allocations: 288.3 MB / 303.2 MB, free: 8.145 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.001205/0.001205, allocations: 173 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.4 MB / 0.6306 GB, free: 9.977 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.0008561/0.0008561, allocations: 94.95 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.000401, allocations: 11.19 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3224, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001042/0.3235, allocations: 441.9 kB / 0.9798 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3253, allocations: 1.492 MB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.192e-05/0.3253, allocations: 0 / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.3254, allocations: 3.984 kB / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.3256, allocations: 23.91 kB / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.3258, allocations: 107.7 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.326, allocations: 63.91 kB / 0.9815 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3261, allocations: 19.92 kB / 0.9815 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.3262, allocations: 39.91 kB / 0.9815 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.18e-05/0.3263, allocations: 39.83 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.3263, allocations: 4 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.3265, allocations: 75.88 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.3265, allocations: 15.92 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.3265, allocations: 37.7 kB / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.3267, allocations: 139.9 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.3267, allocations: 0 / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3267, allocations: 0 / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3267, allocations: 0 / 0.9818 GB, free: 25.16 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.0006611/0.3274, allocations: 407.1 kB / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.3275, allocations: 12.03 kB / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.3275, allocations: 11.84 kB / 0.9823 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.3276, allocations: 179 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.229e-05/0.3277, allocations: 29.7 kB / 0.9825 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.3278, allocations: 8 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.328, allocations: 106.3 kB / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.328, allocations: 4 kB / 0.9826 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.328, allocations: 4 kB / 0.9826 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.328, allocations: 3.984 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.589e-05/0.3281, allocations: 47.97 kB / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005612/0.3287, allocations: 0.5204 MB / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.3291, allocations: 131.8 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.3292, allocations: 8.109 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.3294, allocations: 117.7 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.3294, allocations: 0 / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002875/0.3297, allocations: 137.7 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.3298, allocations: 106.9 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.756e-05/0.3299, allocations: 133.7 kB / 0.9837 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3299, allocations: 29.7 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.3299, allocations: 96.27 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.33, allocations: 35.61 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.33, allocations: 4 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.495e-05/0.33, allocations: 318.8 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.451e-05/0.3301, allocations: 31.98 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-05/0.3302, allocations: 53.7 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.573e-05/0.3303, allocations: 31.98 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3303, allocations: 0 / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002006/0.3305, allocations: 129.9 kB / 0.9844 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3305, allocations: 8 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3305, allocations: 4.062 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.3306, allocations: 0 / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.3307, allocations: 23.94 kB / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.3307, allocations: 4 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.301e-05/0.3308, allocations: 23.83 kB / 0.9845 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.3308, allocations: 4 kB / 0.9845 GB, free: 22.16 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 9.243e-05/0.3309, allocations: 122.5 kB / 0.9846 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.3309, allocations: 7.906 kB / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.3312, allocations: 122.1 kB / 0.9847 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3312, allocations: 4 kB / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3312, allocations: 3.953 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3312, allocations: 4 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.3314, allocations: 217.5 kB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3314, allocations: 0 / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.3315, allocations: 23.98 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3315, allocations: 0 / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.3315, allocations: 4 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3315, allocations: 4 kB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3315, allocations: 0 / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.3317, allocations: 196.9 kB / 0.9852 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.3318, allocations: 108.8 kB / 0.9853 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.3319, allocations: 15.89 kB / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.002e-05/0.3319, allocations: 8 kB / 0.9853 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.332, allocations: 11.98 kB / 0.9853 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.332, allocations: 7.984 kB / 0.9853 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.046e-05/0.3321, allocations: 99.27 kB / 0.9854 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3321, allocations: 3.938 kB / 0.9854 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002493/0.3323, allocations: 55.94 kB / 0.9855 GB, free: 21.04 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.000225/0.3326, allocations: 151.1 kB / 0.9856 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.3328, allocations: 91.89 kB / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3328, allocations: 0 / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.006e-05/0.3329, allocations: 60.09 kB / 0.9858 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.3331, allocations: 12.86 kB / 0.9858 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004529/0.3335, allocations: 263.2 kB / 0.986 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.3337, allocations: 0.7043 MB / 0.9867 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.749e-05/0.3338, allocations: 21.09 kB / 0.9867 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.3338, allocations: 15.44 kB / 0.9868 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of SimCode: time 1.122e-06/0.3339, allocations: 0 / 0.9868 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.00402/0.3379, allocations: 1.555 MB / 0.9883 GB, free: 18.12 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)