Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.3 MB / 308.1 MB, free: 4.332 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.001569/0.001569, allocations: 195.8 kB / 376.9 MB, free: 1.844 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.16/2.16, allocations: 205.1 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 92.16 kB / 0.748 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3129, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002664/0.3156, allocations: 0.9606 MB / 0.9832 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003914/0.3196, allocations: 2.565 MB / 0.9857 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.3197, allocations: 7.938 kB / 0.9857 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.814e-05/0.3198, allocations: 11.92 kB / 0.9857 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.3202, allocations: 39.69 kB / 0.9857 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.3219, allocations: 422.8 kB / 0.9861 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004693/0.3224, allocations: 303.1 kB / 0.9864 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.657e-05/0.3225, allocations: 17.89 kB / 0.9864 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003821/0.3229, allocations: 131.6 kB / 0.9866 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003559/0.3232, allocations: 143.5 kB / 0.9867 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.109e-05/0.3233, allocations: 12 kB / 0.9867 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008379/0.3242, allocations: 307.7 kB / 0.987 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.74e-05/0.3243, allocations: 51.86 kB / 0.9871 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.3245, allocations: 115.5 kB / 0.9872 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.3256, allocations: 0.5416 MB / 0.9877 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3256, allocations: 0 / 0.9877 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.456e-06/0.3256, allocations: 0 / 0.9877 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.3256, allocations: 3.938 kB / 0.9877 GB, free: 4.75 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001765/0.3274, allocations: 0.6568 MB / 0.9883 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.3275, allocations: 8.031 kB / 0.9883 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.3276, allocations: 24.75 kB / 0.9884 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.3278, allocations: 192.7 kB / 0.9886 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001765/0.328, allocations: 127.4 kB / 0.9887 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.328, allocations: 28.3 kB / 0.9887 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.3284, allocations: 243.9 kB / 0.9889 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.3285, allocations: 4 kB / 0.9889 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.3285, allocations: 7.984 kB / 0.9889 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3285, allocations: 7.938 kB / 0.989 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.3288, allocations: 115.8 kB / 0.9891 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.3293, allocations: 395.2 kB / 0.9894 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.3307, allocations: 495.3 kB / 0.9899 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.331, allocations: 162.2 kB / 0.9901 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.682e-05/0.331, allocations: 8 kB / 0.9901 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005426/0.3316, allocations: 324 kB / 0.9904 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 3.246e-06/0.3316, allocations: 0 / 0.9904 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.0008307/0.3324, allocations: 413.6 kB / 0.9908 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002047/0.3327, allocations: 362.5 kB / 0.9911 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.3328, allocations: 163.3 kB / 0.9913 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.3329, allocations: 41.69 kB / 0.9913 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/0.333, allocations: 97.05 kB / 0.9914 GB, free: 416 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.3331, allocations: 106.5 kB / 0.9915 GB, free: 308 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.3332, allocations: 98.12 kB / 0.9916 GB, free: 204 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3334, allocations: 334.8 kB / 0.9919 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.3337, allocations: 117.1 kB / 0.992 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/0.334, allocations: 165 kB / 0.9922 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005421/0.3346, allocations: 263.3 kB / 0.9924 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3346, allocations: 3.984 kB / 0.9925 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007404/0.3353, allocations: 377.6 kB / 0.9928 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.3353, allocations: 8 kB / 0.9928 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3354, allocations: 3.938 kB / 0.9928 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3354, allocations: 4 kB / 0.9928 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.3357, allocations: 80.91 kB / 0.9929 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.3358, allocations: 4 kB / 0.9929 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.336, allocations: 51.56 kB / 0.993 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.3361, allocations: 27.97 kB / 0.993 GB, free: 14.75 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0001663/0.3363, allocations: 161.6 kB / 0.9931 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.3363, allocations: 23.75 kB / 0.9932 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006624/0.337, allocations: 362 kB / 0.9935 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.337, allocations: 8 kB / 0.9935 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.337, allocations: 4 kB / 0.9935 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.337, allocations: 7.984 kB / 0.9935 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003974/0.3375, allocations: 345.1 kB / 0.9939 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.3375, allocations: 7.938 kB / 0.9939 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.3378, allocations: 79.83 kB / 0.9939 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.3378, allocations: 4 kB / 0.9939 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.3378, allocations: 19.94 kB / 0.994 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.3378, allocations: 11.98 kB / 0.994 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.3378, allocations: 7.938 kB / 0.994 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.3391, allocations: 1.19 MB / 0.9951 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.3393, allocations: 148.6 kB / 0.9953 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.3393, allocations: 20.19 kB / 0.9953 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.3395, allocations: 39.97 kB / 0.9953 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.3397, allocations: 51.81 kB / 0.9954 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.3397, allocations: 23.98 kB / 0.9954 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.137e-05/0.3398, allocations: 127.2 kB / 0.9955 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3398, allocations: 0 / 0.9955 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000679/0.3405, allocations: 219.7 kB / 0.9957 GB, free: 11.74 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0005367/0.341, allocations: 329.1 kB / 0.9961 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006032/0.3416, allocations: 327.7 kB / 0.9964 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3417, allocations: 0 / 0.9964 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002812/0.3419, allocations: 191.6 kB / 0.9966 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.3422, allocations: 33.89 kB / 0.9966 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.3435, allocations: 0.9225 MB / 0.9975 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.3438, allocations: 0.7731 MB / 0.9982 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002115/0.3441, allocations: 56.44 kB / 0.9983 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.3442, allocations: 47.41 kB / 0.9983 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/0.3442, allocations: 0 / 0.9983 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of Templates: time 0.01016/0.3544, allocations: 5.483 MB / 1.004 GB, free: 3.5 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)