Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing lines in the log after simulating for a long time #650

Open
cesarcarc opened this issue Sep 2, 2021 · 4 comments
Open

Missing lines in the log after simulating for a long time #650

cesarcarc opened this issue Sep 2, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@cesarcarc
Copy link

cesarcarc commented Sep 2, 2021

Setup:
Using COSIM-CLI
Configuration: only with the Damper model as in the attachment (base step-size:0.2)
Damper.zip

Actions:
Simulate for a long time

Result:

  • When simulating for a long time, the decimals for Time just disappear from the log.
    At start:
    image

When we get to 6 digits the decimal just disappears:
image
NOTE: This will be handled in #618

image

I have not investigated further if this occurs for other timestamps.

@kyllingstad
Copy link
Member

I'm pretty sure this is the same as #618. The default for C++ output is to print floating-point numbers with 6 digits of precision.

@cesarcarc cesarcarc added the bug Something isn't working label Sep 2, 2021
@cesarcarc
Copy link
Author

I'm pretty sure this is the same as #618. The default for C++ output is to print floating-point numbers with 6 digits of precision.

Yes, you are correct, I had not seen #618 .

I have one additional item in the bug above (the missing entries). I mean for timestamp 100000 there are only 3 entries while the expected would be 5.

@kyllingstad
Copy link
Member

That is very weird. I'm not sure the two issues are related. I suggest you change the issue title to focus on the problem with missing lines, and then we can deal with the missing decimals under #618.

@cesarcarc cesarcarc changed the title Decimals for "Time" disappear from log after simulating for a long time Missing lines in the log after simulating for a long time Sep 2, 2021
@cesarcarc
Copy link
Author

cesarcarc commented Sep 2, 2021

That is very weird. I'm not sure the two issues are related. I suggest you change the issue title to focus on the problem with missing lines, and then we can deal with the missing decimals under #618.

Ok, I agree and I've changed the title.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants