Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.0008942/0.0008942, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.001473/0.001473, allocations: 165 kB / 24.25 MB, free: 208 kB / 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.006/1.006, allocations: 177.1 MB / 204.7 MB, free: 5.453 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 2.089/2.089, allocations: 389.6 MB / 0.6355 GB, free: 12.26 MB / 0.6042 GB " [Timeout remaining time 177] 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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 0.7753 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.531e-05, allocations: 3.25 kB / 0.7753 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001279/0.001294, allocations: 0.9115 MB / 0.7762 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.003379, allocations: 2.48 MB / 0.7787 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.003438, allocations: 2.75 kB / 0.7787 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.879e-05/0.003476, allocations: 11.81 kB / 0.7787 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.003646, allocations: 47.55 kB / 0.7787 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.004188, allocations: 478.1 kB / 0.7792 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.004408, allocations: 327.8 kB / 0.7795 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.004444, allocations: 10.47 kB / 0.7795 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.004678, allocations: 205.7 kB / 0.7797 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.004802, allocations: 120.4 kB / 0.7798 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.004836, allocations: 24 kB / 0.7798 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004348/0.005271, allocations: 425.2 kB / 0.7802 GB, free: 336 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.451e-05/0.005315, allocations: 67.78 kB / 0.7803 GB, free: 268 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.376e-05/0.005379, allocations: 96.27 kB / 0.7804 GB, free: 172 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004775/0.005856, allocations: 0.5724 MB / 0.7809 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.005859, allocations: 0.8125 kB / 0.7809 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.12e-07/0.005859, allocations: 4 kB / 0.7809 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.656e-06/0.005863, allocations: 0.5 kB / 0.7809 GB, free: 15.59 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.0006579/0.006521, allocations: 0.5768 MB / 0.7815 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.006551, allocations: 8.75 kB / 0.7815 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005134/0.007064, allocations: 147.7 kB / 0.7817 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.494e-05/0.007149, allocations: 135.2 kB / 0.7818 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.007262, allocations: 230.2 kB / 0.782 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.007289, allocations: 25.17 kB / 0.782 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.007469, allocations: 201.1 kB / 0.7822 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.007479, allocations: 4.125 kB / 0.7822 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.007494, allocations: 13.06 kB / 0.7822 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.0075, allocations: 4 kB / 0.7822 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.051e-05/0.00758, allocations: 68.62 kB / 0.7823 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.007899, allocations: 200 kB / 0.7825 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006065/0.008505, allocations: 414 kB / 0.7829 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.55e-05/0.008591, allocations: 115.4 kB / 0.783 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.008614, allocations: 12 kB / 0.783 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.008826, allocations: 288.8 kB / 0.7833 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=40): time 1.522e-06/0.008828, allocations: 3.938 kB / 0.7833 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40): time 0.0002967/0.009124, allocations: 239 kB / 0.7835 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.009243, allocations: 354.9 kB / 0.7839 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.009333, allocations: 165.8 kB / 0.784 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.009363, allocations: 46.48 kB / 0.7841 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.0094, allocations: 97.08 kB / 0.7842 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.831e-05/0.009468, allocations: 119.1 kB / 0.7843 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.288e-05/0.009551, allocations: 103.1 kB / 0.7844 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.766e-05/0.009628, allocations: 330.8 kB / 0.7847 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.239e-05/0.009721, allocations: 66.66 kB / 0.7848 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.695e-05/0.009808, allocations: 97.41 kB / 0.7848 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.009974, allocations: 169.7 kB / 0.785 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.009977, allocations: 0 / 0.785 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002164/0.01019, allocations: 214.4 kB / 0.7852 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.01021, allocations: 8 kB / 0.7852 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.01021, allocations: 0 / 0.7852 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.01022, allocations: 7.938 kB / 0.7852 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.01042, allocations: 95.8 kB / 0.7853 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.01042, allocations: 3.938 kB / 0.7853 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.01053, allocations: 55.75 kB / 0.7854 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.01054, allocations: 14.27 kB / 0.7854 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 8.69e-05/0.01063, allocations: 141.7 kB / 0.7855 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.01067, allocations: 35.91 kB / 0.7856 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.01095, allocations: 262.4 kB / 0.7858 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.01096, allocations: 8 kB / 0.7858 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.01096, allocations: 4 kB / 0.7858 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.01097, allocations: 11.92 kB / 0.7858 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.01114, allocations: 186.9 kB / 0.786 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.01114, allocations: 4 kB / 0.786 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.01129, allocations: 75.91 kB / 0.7861 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01129, allocations: 4.5 kB / 0.7861 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.01131, allocations: 18.64 kB / 0.7861 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.01131, allocations: 15.92 kB / 0.7861 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01131, allocations: 0 / 0.7861 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.01156, allocations: 341.7 kB / 0.7864 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.635e-05/0.01165, allocations: 51.7 kB / 0.7865 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.01168, allocations: 23.94 kB / 0.7865 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.33e-05/0.01177, allocations: 30.42 kB / 0.7865 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.01184, allocations: 51.8 kB / 0.7866 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.01186, allocations: 19.98 kB / 0.7866 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.34e-05/0.01189, allocations: 49.31 kB / 0.7867 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01189, allocations: 0 / 0.7867 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003176/0.01221, allocations: 231.2 kB / 0.7869 GB, free: 8.934 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.0003602/0.01257, allocations: 350.8 kB / 0.7872 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002405/0.01281, allocations: 219.5 kB / 0.7874 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01281, allocations: 4 kB / 0.7874 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.01293, allocations: 139 kB / 0.7876 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.01308, allocations: 32.81 kB / 0.7876 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/0.01376, allocations: 0.5135 MB / 0.7881 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.383e-05/0.01381, allocations: 101.8 kB / 0.7882 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000121/0.01394, allocations: 53.52 kB / 0.7882 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.01407, allocations: 107.3 kB / 0.7883 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.01407, allocations: 0 / 0.7883 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of Templates: time 0.007442/0.02151, allocations: 6.464 MB / 0.7947 GB, free: 1.051 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.308173856697977]