Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001302/0.001302, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.666/1.666, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.817/1.817, allocations: 292.2 MB / 0.5485 GB, free: 13.7 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.001451/0.001451, allocations: 62.31 kB / 0.671 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3308, allocations: 114.5 MB / 0.7829 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002853/0.3337, allocations: 0.9761 MB / 0.7838 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003831/0.3375, allocations: 2.512 MB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.3378, allocations: 7.938 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.682e-05/0.3378, allocations: 3.938 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.3382, allocations: 39.69 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.3398, allocations: 455.1 kB / 0.7867 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004537/0.3403, allocations: 327 kB / 0.7871 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.943e-05/0.3404, allocations: 9.688 kB / 0.7871 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.3407, allocations: 135.7 kB / 0.7872 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.3409, allocations: 151.5 kB / 0.7873 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.788e-05/0.341, allocations: 27.98 kB / 0.7874 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006852/0.3417, allocations: 311.7 kB / 0.7877 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.807e-05/0.3418, allocations: 75.72 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.342, allocations: 123.5 kB / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.343, allocations: 0.5416 MB / 0.7884 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.343, allocations: 0 / 0.7884 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.324e-06/0.343, allocations: 0 / 0.7884 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.343, allocations: 0 / 0.7884 GB, free: 8.242 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001734/0.3448, allocations: 0.6568 MB / 0.789 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.3448, allocations: 15.97 kB / 0.789 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.345, allocations: 24.66 kB / 0.7891 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.3452, allocations: 196.8 kB / 0.7892 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.3454, allocations: 123.4 kB / 0.7894 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.352e-05/0.3454, allocations: 20.38 kB / 0.7894 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004355/0.3459, allocations: 239.9 kB / 0.7896 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3459, allocations: 3.984 kB / 0.7896 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.3459, allocations: 8 kB / 0.7896 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.3459, allocations: 4 kB / 0.7896 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.3462, allocations: 119.7 kB / 0.7897 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.3468, allocations: 391.1 kB / 0.7901 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.3483, allocations: 495.3 kB / 0.7906 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.3486, allocations: 166.2 kB / 0.7907 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/0.3486, allocations: 4 kB / 0.7907 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005895/0.3492, allocations: 319.4 kB / 0.7911 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.325e-06/0.3493, allocations: 0 / 0.7911 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0008701/0.3501, allocations: 406.4 kB / 0.7914 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000221/0.3504, allocations: 362.6 kB / 0.7918 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.3505, allocations: 167.2 kB / 0.7919 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.3506, allocations: 41.7 kB / 0.792 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.3507, allocations: 101 kB / 0.7921 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.3508, allocations: 106.5 kB / 0.7922 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.351, allocations: 94.22 kB / 0.7923 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.3512, allocations: 334.8 kB / 0.7926 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.3515, allocations: 113.1 kB / 0.7927 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.3519, allocations: 173.3 kB / 0.7929 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006138/0.3525, allocations: 269.1 kB / 0.7931 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.3525, allocations: 0 / 0.7931 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008073/0.3533, allocations: 387.9 kB / 0.7935 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.3533, allocations: 4 kB / 0.7935 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.3534, allocations: 3.984 kB / 0.7935 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.3534, allocations: 4 kB / 0.7935 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/0.3538, allocations: 83.81 kB / 0.7936 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.3539, allocations: 0 / 0.7936 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.3542, allocations: 47.66 kB / 0.7936 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.3542, allocations: 23.92 kB / 0.7937 GB, free: 2.262 MB / 0.6075 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.0002286/0.3545, allocations: 158.4 kB / 0.7938 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/0.3545, allocations: 27.66 kB / 0.7938 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007321/0.3553, allocations: 362 kB / 0.7942 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.3553, allocations: 8 kB / 0.7942 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.3553, allocations: 4 kB / 0.7942 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.3553, allocations: 7.984 kB / 0.7942 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004829/0.3558, allocations: 345.1 kB / 0.7945 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.3559, allocations: 7.938 kB / 0.7945 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.3562, allocations: 79.77 kB / 0.7946 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.3562, allocations: 8 kB / 0.7946 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.3563, allocations: 16.25 kB / 0.7946 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/0.3563, allocations: 7.984 kB / 0.7946 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.3563, allocations: 12 kB / 0.7946 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007284/0.357, allocations: 493.8 kB / 0.7951 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.3572, allocations: 148.6 kB / 0.7953 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.689e-05/0.3573, allocations: 19.98 kB / 0.7953 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.3575, allocations: 27.97 kB / 0.7953 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.3576, allocations: 56.02 kB / 0.7954 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.3577, allocations: 23.98 kB / 0.7954 GB, free: 360 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001154/0.3578, allocations: 128.5 kB / 0.7955 GB, free: 232 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3578, allocations: 0 / 0.7955 GB, free: 232 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000659/0.3585, allocations: 219.7 kB / 0.7957 GB, free: 12 kB / 0.6075 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.0006031/0.3591, allocations: 328.9 kB / 0.796 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007149/0.3598, allocations: 358.9 kB / 0.7964 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3598, allocations: 0 / 0.7964 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.3601, allocations: 183.7 kB / 0.7965 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.3604, allocations: 32 kB / 0.7966 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.3616, allocations: 0.6598 MB / 0.7972 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.362, allocations: 0.761 MB / 0.798 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002294/0.3623, allocations: 54.94 kB / 0.798 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.3624, allocations: 51.41 kB / 0.7981 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of SimCode: time 5.71e-07/0.3624, allocations: 0 / 0.7981 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of Templates: time 0.01075/0.3732, allocations: 5.493 MB / 0.8034 GB, free: 8.035 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)