Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 84.86 kB / 21.62 MB, free: 2.836 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 163.2 kB / 25.05 MB, free: 9.148 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.009/1.009, allocations: 177.1 MB / 205.5 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.936/1.936, allocations: 389.6 MB / 0.6363 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 0 / 0.7761 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.728e-05, allocations: 3.562 kB / 0.7761 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002241/0.002268, allocations: 0.9063 MB / 0.777 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002917/0.005186, allocations: 2.48 MB / 0.7794 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.461e-05/0.00525, allocations: 8.594 kB / 0.7794 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.32e-05/0.005293, allocations: 11.81 kB / 0.7794 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.00547, allocations: 53.61 kB / 0.7795 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007783/0.006248, allocations: 482.1 kB / 0.7799 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000246/0.006494, allocations: 320.8 kB / 0.7803 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.006537, allocations: 18.44 kB / 0.7803 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003306/0.006868, allocations: 197.5 kB / 0.7805 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.007005, allocations: 123.7 kB / 0.7806 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.007041, allocations: 28.69 kB / 0.7806 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005207/0.007562, allocations: 421.1 kB / 0.781 GB, free: 316 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.341e-05/0.007615, allocations: 71.78 kB / 0.7811 GB, free: 244 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.481e-05/0.00768, allocations: 83.84 kB / 0.7812 GB, free: 160 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005614/0.008242, allocations: 0.588 MB / 0.7817 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.008244, allocations: 0.6562 kB / 0.7817 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.212e-06/0.008246, allocations: 0 / 0.7817 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.008249, allocations: 5.312 kB / 0.7817 GB, free: 15.56 MB / 0.7448 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.0008079/0.009057, allocations: 0.568 MB / 0.7823 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.009088, allocations: 12.75 kB / 0.7823 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005618/0.009649, allocations: 143.5 kB / 0.7824 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.009758, allocations: 139.1 kB / 0.7826 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.00989, allocations: 230.7 kB / 0.7828 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.009916, allocations: 18.16 kB / 0.7828 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.0101, allocations: 205.1 kB / 0.783 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.01012, allocations: 192 / 0.783 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.01013, allocations: 12.12 kB / 0.783 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.01014, allocations: 4 kB / 0.783 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.311e-05/0.01022, allocations: 70.95 kB / 0.7831 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.01043, allocations: 187.1 kB / 0.7833 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006329/0.01106, allocations: 427.7 kB / 0.7837 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.964e-05/0.01115, allocations: 116.4 kB / 0.7838 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.01117, allocations: 8 kB / 0.7838 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.0114, allocations: 288.6 kB / 0.7841 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=40): time 1.242e-06/0.0114, allocations: 0 / 0.7841 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40): time 0.0003178/0.01172, allocations: 247 kB / 0.7843 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.01185, allocations: 351.4 kB / 0.7846 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.01196, allocations: 173.8 kB / 0.7848 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.01199, allocations: 37.7 kB / 0.7848 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/0.01202, allocations: 97.08 kB / 0.7849 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.01208, allocations: 120.2 kB / 0.785 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.01217, allocations: 90.11 kB / 0.7851 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004018/0.01257, allocations: 338.8 kB / 0.7855 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.918e-05/0.01266, allocations: 63.03 kB / 0.7855 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.046e-05/0.01275, allocations: 104.4 kB / 0.7856 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.01292, allocations: 169.8 kB / 0.7858 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01292, allocations: 0 / 0.7858 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002231/0.01314, allocations: 215.2 kB / 0.786 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.01316, allocations: 9.031 kB / 0.786 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.01316, allocations: 0 / 0.786 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.01317, allocations: 4 kB / 0.786 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.01338, allocations: 92.64 kB / 0.7861 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.01338, allocations: 3.938 kB / 0.7861 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.01349, allocations: 45.84 kB / 0.7861 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.01351, allocations: 15.98 kB / 0.7861 GB, free: 10.54 MB / 0.7448 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 9.856e-05/0.0136, allocations: 154.4 kB / 0.7863 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.01364, allocations: 31.97 kB / 0.7863 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/0.01396, allocations: 259.5 kB / 0.7866 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.01397, allocations: 8 kB / 0.7866 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.01397, allocations: 4.438 kB / 0.7866 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.01398, allocations: 15.86 kB / 0.7866 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.01416, allocations: 190 kB / 0.7868 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.01417, allocations: 8.75 kB / 0.7868 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.01431, allocations: 79.84 kB / 0.7869 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01432, allocations: 5.219 kB / 0.7869 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.01433, allocations: 15.98 kB / 0.7869 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.01434, allocations: 8 kB / 0.7869 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.01434, allocations: 5.344 kB / 0.7869 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.01459, allocations: 333.5 kB / 0.7872 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.89e-05/0.01467, allocations: 55.88 kB / 0.7873 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.0147, allocations: 23.94 kB / 0.7873 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.349e-05/0.0148, allocations: 25.27 kB / 0.7873 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.01486, allocations: 55.84 kB / 0.7874 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.01487, allocations: 16.77 kB / 0.7874 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.0149, allocations: 49.33 kB / 0.7874 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.0149, allocations: 0.5 kB / 0.7874 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003476/0.01525, allocations: 231.2 kB / 0.7877 GB, free: 8.922 MB / 0.7448 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.0003501/0.0156, allocations: 347.6 kB / 0.788 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.01583, allocations: 218.7 kB / 0.7882 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.01583, allocations: 7.938 kB / 0.7882 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.01595, allocations: 139.5 kB / 0.7883 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.01607, allocations: 31.97 kB / 0.7884 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006421/0.01672, allocations: 0.5209 MB / 0.7889 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.006e-05/0.01677, allocations: 93.81 kB / 0.789 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001537/0.01692, allocations: 57.91 kB / 0.789 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.01707, allocations: 107.3 kB / 0.7891 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.01707, allocations: 1 kB / 0.7891 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of Templates: time 0.00902/0.02609, allocations: 6.464 MB / 0.7954 GB, free: 1.023 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.193611230701208]