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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, 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.001259/0.001259, allocations: 194 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.643/1.643, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.887/1.887, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001579/0.00158, allocations: 67.05 kB / 0.671 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3477, allocations: 114.6 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002455/0.3502, allocations: 0.9644 MB / 0.7838 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003292/0.3535, allocations: 2.504 MB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.3537, allocations: 4 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.19e-05/0.3538, allocations: 11.86 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.3541, allocations: 39.73 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.3556, allocations: 455.1 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000393/0.356, allocations: 319.1 kB / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/0.3561, allocations: 21.67 kB / 0.7871 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.3563, allocations: 135.6 kB / 0.7872 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.3565, allocations: 155.4 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.771e-05/0.3566, allocations: 24 kB / 0.7874 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006952/0.3573, allocations: 319.7 kB / 0.7877 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.108e-05/0.3574, allocations: 67.8 kB / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.3575, allocations: 123.5 kB / 0.7879 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007158/0.3583, allocations: 0.5416 MB / 0.7884 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.3583, allocations: 0 / 0.7884 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3583, allocations: 0 / 0.7884 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.3583, allocations: 4 kB / 0.7884 GB, free: 8.215 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.001511/0.3598, allocations: 0.6568 MB / 0.789 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.3599, allocations: 19.97 kB / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.36, allocations: 24.66 kB / 0.7891 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.3602, allocations: 184.8 kB / 0.7892 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.3603, allocations: 127.4 kB / 0.7894 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.3604, allocations: 24.36 kB / 0.7894 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.3608, allocations: 231.9 kB / 0.7896 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3608, allocations: 3.938 kB / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.3608, allocations: 8 kB / 0.7896 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.3608, allocations: 4 kB / 0.7896 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.3611, allocations: 115.8 kB / 0.7897 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.3616, allocations: 403 kB / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.363, allocations: 491.3 kB / 0.7906 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.3633, allocations: 162.2 kB / 0.7907 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.253e-05/0.3633, allocations: 7.984 kB / 0.7908 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005298/0.3639, allocations: 315.5 kB / 0.7911 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.414e-06/0.3639, allocations: 0 / 0.7911 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0008551/0.3647, allocations: 409 kB / 0.7914 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001797/0.3649, allocations: 362.6 kB / 0.7918 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.3651, allocations: 167.2 kB / 0.7919 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/0.3652, allocations: 45.69 kB / 0.792 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/0.3652, allocations: 97.03 kB / 0.7921 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.3654, allocations: 110.5 kB / 0.7922 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.3655, allocations: 94.22 kB / 0.7923 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3657, allocations: 334.8 kB / 0.7926 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.366, allocations: 118.1 kB / 0.7927 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.3663, allocations: 165 kB / 0.7929 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006062/0.3669, allocations: 271.2 kB / 0.7931 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3669, allocations: 0 / 0.7931 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007337/0.3677, allocations: 379.9 kB / 0.7935 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.3677, allocations: 7.938 kB / 0.7935 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3677, allocations: 4 kB / 0.7935 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.3678, allocations: 0 / 0.7935 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.3682, allocations: 83.81 kB / 0.7936 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.3682, allocations: 8 kB / 0.7936 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.3685, allocations: 47.66 kB / 0.7936 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.3686, allocations: 23.98 kB / 0.7937 GB, free: 2.234 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.000188/0.3688, allocations: 154.5 kB / 0.7938 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.797e-05/0.3688, allocations: 31.64 kB / 0.7938 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006898/0.3695, allocations: 358 kB / 0.7942 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.3696, allocations: 8 kB / 0.7942 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.3696, allocations: 4 kB / 0.7942 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.3696, allocations: 7.984 kB / 0.7942 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.37, allocations: 345.1 kB / 0.7945 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.37, allocations: 7.938 kB / 0.7945 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.3703, allocations: 83.77 kB / 0.7946 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.3704, allocations: 4 kB / 0.7946 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/0.3704, allocations: 20 kB / 0.7946 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/0.3704, allocations: 7.984 kB / 0.7946 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.3704, allocations: 7.938 kB / 0.7946 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007594/0.3712, allocations: 498 kB / 0.7951 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.3714, allocations: 152.6 kB / 0.7953 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/0.3715, allocations: 16 kB / 0.7953 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.3717, allocations: 27.97 kB / 0.7953 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.3718, allocations: 55.88 kB / 0.7954 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.3719, allocations: 24 kB / 0.7954 GB, free: 332 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001355/0.372, allocations: 132.5 kB / 0.7955 GB, free: 200 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.372, allocations: 0 / 0.7955 GB, free: 200 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007153/0.3728, allocations: 215.8 kB / 0.7957 GB, free: 15.98 MB / 0.6231 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.0006037/0.3734, allocations: 328.8 kB / 0.796 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007185/0.3741, allocations: 351.2 kB / 0.7964 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3741, allocations: 0 / 0.7964 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.3744, allocations: 192.1 kB / 0.7966 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.3747, allocations: 31.98 kB / 0.7966 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.3758, allocations: 0.6559 MB / 0.7972 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.3762, allocations: 0.761 MB / 0.798 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002311/0.3765, allocations: 53.8 kB / 0.798 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.3766, allocations: 47.41 kB / 0.7981 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.3766, allocations: 0 / 0.7981 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of Templates: time 0.01118/0.3878, allocations: 5.495 MB / 0.8034 GB, free: 8.012 MB / 0.6231 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)