-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a bug in tsv unused variable handling. Added test cases for unu…
…sed variable situation.
- Loading branch information
Showing
6 changed files
with
75 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/LV_Richardson_PredatorFromFile_noiter/ | ||
/LV_Richardson_PredatorFromFile_noiter_excelcsv/ | ||
/FileReaderSeveralVars/ | ||
/FileReaderUnusedVars/ | ||
/FileReaderUnusedVarsWriteAll/ |
29 changes: 29 additions & 0 deletions
29
data/tests/linux64/FileReaderSlave/FileReaderUnusedVars.msim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Created: Di. Jan. 7 08:53:10 2025 | ||
# LastModified: Di. Jan. 7 08:53:10 2025 | ||
|
||
tStart 0 a | ||
tEnd 6 h | ||
hMax 10 min | ||
hMin 1e-05 s | ||
hFallBackLimit 0.001 s | ||
hStart 10 min | ||
hOutputMin 1 h | ||
outputTimeUnit h | ||
adjustStepSize no | ||
preventOversteppingOfEndTime yes | ||
absTol 1e-06 | ||
relTol 1e-05 | ||
MasterMode GAUSS_SEIDEL | ||
ErrorControlMode NONE | ||
maxIterations 1 | ||
writeInternalVariables yes | ||
writeUnconnectedFileReaderVars no | ||
|
||
simulator 0 0 FileReader #4682b4 "SixRealValues.tsv" | ||
simulator 1 0 RealInputVars #6a5acd "fmus/IBK/FourRealInputVars.fmu" | ||
|
||
graph FileReader.Var1 RealInputVars.V1 | ||
graph FileReader.Var2 RealInputVars.V2 | ||
graph FileReader.Var3 RealInputVars.V3 | ||
graph FileReader.Var4 RealInputVars.V4 | ||
|
29 changes: 29 additions & 0 deletions
29
data/tests/linux64/FileReaderSlave/FileReaderUnusedVarsWriteAll.msim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Created: Di. Jan. 7 08:53:10 2025 | ||
# LastModified: Di. Jan. 7 08:53:10 2025 | ||
|
||
tStart 0 a | ||
tEnd 6 h | ||
hMax 10 min | ||
hMin 1e-05 s | ||
hFallBackLimit 0.001 s | ||
hStart 10 min | ||
hOutputMin 1 h | ||
outputTimeUnit h | ||
adjustStepSize no | ||
preventOversteppingOfEndTime yes | ||
absTol 1e-06 | ||
relTol 1e-05 | ||
MasterMode GAUSS_SEIDEL | ||
ErrorControlMode NONE | ||
maxIterations 1 | ||
writeInternalVariables yes | ||
writeUnconnectedFileReaderVars yes | ||
|
||
simulator 0 0 FileReader #4682b4 "SixRealValues.tsv" | ||
simulator 1 0 RealInputVars #6a5acd "fmus/IBK/FourRealInputVars.fmu" | ||
|
||
graph FileReader.Var1 RealInputVars.V1 | ||
graph FileReader.Var2 RealInputVars.V2 | ||
graph FileReader.Var3 RealInputVars.V3 | ||
graph FileReader.Var4 RealInputVars.V4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Time [h] Var3 [-] Var2 [-] Var6 [-] Var1 [-] Var5 [-] Var4 [-] | ||
0 1 8 6 2 5 9 | ||
1 2 2 3 4 2 8 | ||
2 2 3 3 9 9 7 | ||
3 9 2 4 4 4 4 | ||
4 3 4 5 5 8 5 | ||
5 0 6 4 6 5 2 | ||
6 7 3 7 7 9 1 |