Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001448, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002214/0.002214, allocations: 192.3 kB / 16.25 MB, free: 6.629 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.679/1.679, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.884/1.884, allocations: 292.3 MB / 0.5485 GB, free: 13.62 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.002079/0.00208, allocations: 66.38 kB / 0.671 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3583, allocations: 114.6 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.003279/0.3616, allocations: 0.9567 MB / 0.7838 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004739/0.3664, allocations: 2.515 MB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.3666, allocations: 3.938 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.809e-05/0.3667, allocations: 7.922 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.3671, allocations: 43.67 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.3685, allocations: 455.1 kB / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.3689, allocations: 319.1 kB / 0.787 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.156e-05/0.369, allocations: 17.66 kB / 0.7871 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.3692, allocations: 139.6 kB / 0.7872 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.3695, allocations: 151.5 kB / 0.7873 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.866e-05/0.3695, allocations: 24 kB / 0.7874 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005737/0.3701, allocations: 311.8 kB / 0.7877 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.505e-05/0.3702, allocations: 71.8 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.3703, allocations: 127.5 kB / 0.7878 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006834/0.371, allocations: 0.5377 MB / 0.7884 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.371, allocations: 0 / 0.7884 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3711, allocations: 0 / 0.7884 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.3711, 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.001541/0.3726, allocations: 0.6645 MB / 0.789 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.3727, allocations: 8.031 kB / 0.789 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.3728, allocations: 24.66 kB / 0.7891 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.373, allocations: 184.9 kB / 0.7892 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.3732, allocations: 131.2 kB / 0.7894 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.3733, allocations: 28.38 kB / 0.7894 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.3737, allocations: 235.9 kB / 0.7896 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.3738, allocations: 4 kB / 0.7896 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.3738, allocations: 7.938 kB / 0.7896 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.3738, allocations: 4 kB / 0.7896 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.3741, allocations: 127.7 kB / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.3746, allocations: 391.1 kB / 0.7901 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.3761, allocations: 499.2 kB / 0.7906 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.3764, allocations: 162.2 kB / 0.7907 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/0.3764, allocations: 8 kB / 0.7908 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006448/0.3771, allocations: 311.5 kB / 0.7911 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.194e-06/0.3771, allocations: 0 / 0.7911 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0008528/0.3779, allocations: 410.1 kB / 0.7914 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002376/0.3782, allocations: 358.2 kB / 0.7918 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.3784, allocations: 167.2 kB / 0.7919 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.195e-05/0.3785, allocations: 45.7 kB / 0.792 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/0.3786, allocations: 105 kB / 0.7921 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.3787, allocations: 102.5 kB / 0.7922 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.3788, allocations: 98.22 kB / 0.7923 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.379, allocations: 334.8 kB / 0.7926 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.3793, allocations: 113.1 kB / 0.7927 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.3796, allocations: 169 kB / 0.7929 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005562/0.3802, allocations: 269.4 kB / 0.7931 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3802, allocations: 1 kB / 0.7931 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007528/0.381, allocations: 384.5 kB / 0.7935 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.381, allocations: 8 kB / 0.7935 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.381, allocations: 0 / 0.7935 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.3811, allocations: 4 kB / 0.7935 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.3815, allocations: 79.81 kB / 0.7936 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.3815, allocations: 4 kB / 0.7936 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.3818, allocations: 47.66 kB / 0.7936 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/0.3819, allocations: 23.98 kB / 0.7937 GB, free: 2.258 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.0002332/0.3821, allocations: 158.4 kB / 0.7938 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.558e-05/0.3822, allocations: 27.66 kB / 0.7938 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000757/0.383, allocations: 362 kB / 0.7942 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.383, allocations: 8 kB / 0.7942 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.383, allocations: 4 kB / 0.7942 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.383, allocations: 7.984 kB / 0.7942 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.3834, allocations: 345.1 kB / 0.7945 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.3835, allocations: 7.938 kB / 0.7945 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.3837, allocations: 83.83 kB / 0.7946 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.3838, allocations: 4 kB / 0.7946 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.3838, allocations: 16 kB / 0.7946 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.3838, allocations: 11.92 kB / 0.7946 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.3838, allocations: 4 kB / 0.7946 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007918/0.3846, allocations: 0.4902 MB / 0.7951 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.3848, allocations: 148.6 kB / 0.7953 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.966e-05/0.3849, allocations: 19.98 kB / 0.7953 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.3852, allocations: 35.97 kB / 0.7953 GB, free: 424 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.3853, allocations: 47.83 kB / 0.7954 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.3853, allocations: 23.98 kB / 0.7954 GB, free: 352 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001465/0.3855, allocations: 136.5 kB / 0.7955 GB, free: 216 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3855, allocations: 0 / 0.7955 GB, free: 216 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008764/0.3864, allocations: 215.7 kB / 0.7957 GB, free: 0 / 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.0006437/0.3871, allocations: 329.1 kB / 0.796 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007532/0.3878, allocations: 351.5 kB / 0.7964 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3878, allocations: 0 / 0.7964 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.3881, allocations: 183.7 kB / 0.7965 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.3884, allocations: 34.81 kB / 0.7966 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.3896, allocations: 0.6549 MB / 0.7972 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005505/0.3902, allocations: 0.7611 MB / 0.798 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000242/0.3904, allocations: 47.27 kB / 0.798 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.3906, allocations: 51.41 kB / 0.7981 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of SimCode: time 9.01e-07/0.3906, allocations: 7.938 kB / 0.7981 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.01156/0.4021, allocations: 5.482 MB / 0.8034 GB, free: 8.027 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)