fmu-manipulation-toolbox 1.9.2b3__tar.gz → 1.9.2rc1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/PKG-INFO +1 -1
- fmu_manipulation_toolbox-1.9.2rc1/fmu_manipulation_toolbox/__version__.py +1 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/cli/datalog2pcap.py +34 -4
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/container.py +10 -5
- fmu_manipulation_toolbox-1.9.2rc1/fmu_manipulation_toolbox/resources/darwin64/container.dylib +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/linux32/client_sm.so +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/linux64/client_sm.so +0 -0
- fmu_manipulation_toolbox-1.9.2rc1/fmu_manipulation_toolbox/resources/linux64/container.so +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/win32/client_sm.dll +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/win32/server_sm.exe +0 -0
- fmu_manipulation_toolbox-1.9.2rc1/fmu_manipulation_toolbox/resources/win64/client_sm.dll +0 -0
- fmu_manipulation_toolbox-1.9.2rc1/fmu_manipulation_toolbox/resources/win64/container.dll +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/win64/server_sm.exe +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox.egg-info/PKG-INFO +1 -1
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/tests/test_suite.py +6 -6
- fmu_manipulation_toolbox-1.9.2b3/fmu_manipulation_toolbox/__version__.py +0 -1
- fmu_manipulation_toolbox-1.9.2b3/fmu_manipulation_toolbox/resources/darwin64/container.dylib +0 -0
- fmu_manipulation_toolbox-1.9.2b3/fmu_manipulation_toolbox/resources/linux64/container.so +0 -0
- fmu_manipulation_toolbox-1.9.2b3/fmu_manipulation_toolbox/resources/win64/client_sm.dll +0 -0
- fmu_manipulation_toolbox-1.9.2b3/fmu_manipulation_toolbox/resources/win64/container.dll +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/LICENSE.txt +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/README.md +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/__init__.py +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/__main__.py +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/assembly.py +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/checker.py +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/cli/__init__.py +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/cli/fmucontainer.py +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/cli/fmusplit.py +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/cli/fmutool.py +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/cli/utils.py +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/help.py +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/ls.py +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/operations.py +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/remoting.py +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/checkbox-checked-disabled.png +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/checkbox-checked-hover.png +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/checkbox-checked.png +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/checkbox-unchecked-disabled.png +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/checkbox-unchecked-hover.png +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/checkbox-unchecked.png +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/container.png +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/drop_fmu.png +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmi-2.0/fmi2Annotation.xsd +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmi-2.0/fmi2AttributeGroups.xsd +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmi-2.0/fmi2ModelDescription.xsd +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmi-2.0/fmi2ScalarVariable.xsd +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmi-2.0/fmi2Type.xsd +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmi-2.0/fmi2Unit.xsd +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmi-2.0/fmi2VariableDependency.xsd +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmi-3.0/fmi3Annotation.xsd +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmi-3.0/fmi3AttributeGroups.xsd +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmi-3.0/fmi3BuildDescription.xsd +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmi-3.0/fmi3InterfaceType.xsd +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmi-3.0/fmi3LayeredStandardManifest.xsd +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmi-3.0/fmi3ModelDescription.xsd +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmi-3.0/fmi3Terminal.xsd +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmi-3.0/fmi3TerminalsAndIcons.xsd +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmi-3.0/fmi3Type.xsd +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmi-3.0/fmi3Unit.xsd +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmi-3.0/fmi3Variable.xsd +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmi-3.0/fmi3VariableDependency.xsd +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmu.png +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/fmu_manipulation_toolbox.png +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/help.png +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/icon-round.png +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/icon.png +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/icon_fmu.png +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/license.txt +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/linux32/server_sm +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/linux64/server_sm +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/mask.png +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/resources/model.png +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/split.py +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/terminals.py +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox/version.py +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox.egg-info/SOURCES.txt +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox.egg-info/dependency_links.txt +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox.egg-info/entry_points.txt +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox.egg-info/requires.txt +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/fmu_manipulation_toolbox.egg-info/top_level.txt +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/setup.cfg +0 -0
- {fmu_manipulation_toolbox-1.9.2b3 → fmu_manipulation_toolbox-1.9.2rc1}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fmu_manipulation_toolbox
|
|
3
|
-
Version: 1.9.
|
|
3
|
+
Version: 1.9.2rc1
|
|
4
4
|
Summary: FMU Manipulation Toolbox is a python package which helps to analyze, modify or combine Functional Mock-up Units (FMUs) without recompilation.
|
|
5
5
|
Home-page: https://github.com/grouperenault/fmu_manipulation_toolbox/
|
|
6
6
|
Author: Nicolas.LAURENT@Renault.com
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'V1.9.2rc1'
|
|
@@ -15,6 +15,20 @@ class DatalogConverter:
|
|
|
15
15
|
def __init__(self, cvs_filename: Union[Path, str]):
|
|
16
16
|
self.csv_filename = Path(cvs_filename)
|
|
17
17
|
self.pcap_filename = self.csv_filename.with_suffix(".pcap")
|
|
18
|
+
self.opcode_name = {
|
|
19
|
+
"CAN": {
|
|
20
|
+
0x0001: "FMI3_LS_BUS_OP_FORMAT_ERROR",
|
|
21
|
+
0x0010: "FMI3_LS_BUS_CAN_OP_CAN_TRANSMIT",
|
|
22
|
+
0x0011: "FMI3_LS_BUS_CAN_OP_CANFD_TRANSMIT",
|
|
23
|
+
0x0012: "FMI3_LS_BUS_CAN_OP_CANXL_TRANSMIT",
|
|
24
|
+
0x0020: "FMI3_LS_BUS_CAN_OP_CONFIRM",
|
|
25
|
+
0x0030: "FMI3_LS_BUS_CAN_OP_ARBITRATION_LOST",
|
|
26
|
+
0x0031: "FMI3_LS_BUS_CAN_OP_BUS_ERROR",
|
|
27
|
+
0x0040: "FMI3_LS_BUS_CAN_OP_CONFIGURATION",
|
|
28
|
+
0x0041: "FMI3_LS_BUS_CAN_OP_STATUS",
|
|
29
|
+
0x0042: "FMI3_LS_BUS_CAN_OP_WAKEUP"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
18
32
|
|
|
19
33
|
def open_pcap(self):
|
|
20
34
|
logger.info(f"Creating PCAP file '{self.pcap_filename}'...")
|
|
@@ -31,7 +45,10 @@ class DatalogConverter:
|
|
|
31
45
|
# captured from each packet.
|
|
32
46
|
|
|
33
47
|
file.write(int(227).to_bytes(4, byteorder="big")) # link type. his field is defined in the Section
|
|
34
|
-
#
|
|
48
|
+
# 8.1 IANA registry.
|
|
49
|
+
# 190: Reserved for Controller Area Network (CAN) v. 2.0B packets
|
|
50
|
+
# 210: Reserved for FlexRay automotive bus
|
|
51
|
+
# 227: CAN (Controller Area Network) frames, with a pseudo-header followed by the frame payload.
|
|
35
52
|
return file
|
|
36
53
|
|
|
37
54
|
def open_csv(self):
|
|
@@ -42,15 +59,21 @@ class DatalogConverter:
|
|
|
42
59
|
def decode_hexstring(self, hex_string: bytes, time_s, time_us):
|
|
43
60
|
opcode = int.from_bytes(hex_string[0:4], byteorder="little")
|
|
44
61
|
length = int.from_bytes(hex_string[4:8], byteorder="little")
|
|
45
|
-
|
|
62
|
+
|
|
46
63
|
if opcode == 0x10: # TRANSMIT
|
|
64
|
+
can_id = int.from_bytes(hex_string[8:12], byteorder="little")
|
|
47
65
|
rtr = int.from_bytes(hex_string[13:14], byteorder="little")
|
|
48
66
|
ide = int.from_bytes(hex_string[12:13], byteorder="little")
|
|
49
67
|
data_length = int.from_bytes(hex_string[14:16], byteorder="little")
|
|
50
68
|
raw_data = hex_string[16:]
|
|
51
69
|
|
|
70
|
+
raw_str = ""
|
|
71
|
+
for i, b in enumerate(raw_data):
|
|
72
|
+
raw_str += f"{i}:{b:d} "
|
|
73
|
+
logger.info(f"time={time_s}.{time_us:06d} data length {data_length} with data {raw_str}")
|
|
74
|
+
|
|
52
75
|
logger.debug(f"time={time_s}.{time_us:06d} OP=0x{opcode:04X} len={length} {data_length} id={can_id}"
|
|
53
|
-
f" ide={ide} rtr={rtr} len={data_length} {raw_data}")
|
|
76
|
+
f" ide={ide} rtr={rtr} len={data_length} raw_len={len(raw_data)} {raw_str}")
|
|
54
77
|
|
|
55
78
|
# TimeStamp
|
|
56
79
|
self.pcapfile.write(time_s.to_bytes(4, byteorder="big"))
|
|
@@ -76,7 +99,14 @@ class DatalogConverter:
|
|
|
76
99
|
self.pcapfile.write(dlc.to_bytes(1, byteorder="big"))
|
|
77
100
|
|
|
78
101
|
# PAYLOAD
|
|
79
|
-
self.pcapfile.write(raw_data)
|
|
102
|
+
self.pcapfile.write(raw_data[0:data_length])
|
|
103
|
+
|
|
104
|
+
elif opcode == 0x40:
|
|
105
|
+
parameter = int.from_bytes(hex_string[8:9], byteorder="little")
|
|
106
|
+
logger.debug(f"Config parameter: {parameter}")
|
|
107
|
+
if (parameter == 1):
|
|
108
|
+
baudrate = int.from_bytes(hex_string[9:13], byteorder="little")
|
|
109
|
+
logger.debug(f"baudrate parameter: {baudrate}")
|
|
80
110
|
|
|
81
111
|
def convert(self):
|
|
82
112
|
with self.open_csv() as self.csvfile, self.open_pcap() as self.pcapfile:
|
|
@@ -95,6 +95,7 @@ class EmbeddedFMUPort:
|
|
|
95
95
|
self.start_value = attrs.get("start", None)
|
|
96
96
|
self.initial = attrs.get("initial", None)
|
|
97
97
|
self.clock = attrs.get("clocks", None)
|
|
98
|
+
self.interval_variability = attrs.get("intervalVariability", None)
|
|
98
99
|
|
|
99
100
|
|
|
100
101
|
def xml(self, vr: int, name=None, causality=None, start=None, fmi_version=2) -> str:
|
|
@@ -601,9 +602,13 @@ class FMUContainer:
|
|
|
601
602
|
canHandleVariableCommunicationStepSize="true"
|
|
602
603
|
canBeInstantiatedOnlyOncePerProcess="{only_once}"
|
|
603
604
|
canNotUseMemoryManagementFunctions="true"
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
605
|
+
canGetAndSetFMUState="false"
|
|
606
|
+
canSerializeFMUState="false"
|
|
607
|
+
providesDirectionalDerivatives="false"
|
|
608
|
+
providesAdjointDerivatives="false"
|
|
609
|
+
providesPerElementDependencies="false"
|
|
610
|
+
providesEvaluateDiscreteStates="false"
|
|
611
|
+
hasEventMode="true"
|
|
607
612
|
needsExecutionTool="{execution_tool}">
|
|
608
613
|
</CoSimulation>
|
|
609
614
|
|
|
@@ -1106,8 +1111,8 @@ class FMUContainer:
|
|
|
1106
1111
|
else:
|
|
1107
1112
|
local_per_type["clock"].append(link.vr)
|
|
1108
1113
|
for cport_to in link.cport_to_list:
|
|
1109
|
-
if cport_to.
|
|
1110
|
-
logger.info(f"LS-BUS: importer scheduling for '{cport_to.fmu.name}' '{cport_to.port.name}' (clock={cport_to.port.vr}, {link.vr})")
|
|
1114
|
+
if cport_to.port.interval_variability == "countdown":
|
|
1115
|
+
logger.info(f"LS-BUS: importer scheduling for '{cport_to.fmu.name}' '{cport_to.port.name}' (clock={cport_to.port.vr}, vr={link.vr})")
|
|
1111
1116
|
clock_list.append(cport_to, link.vr)
|
|
1112
1117
|
break
|
|
1113
1118
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fmu_manipulation_toolbox
|
|
3
|
-
Version: 1.9.
|
|
3
|
+
Version: 1.9.2rc1
|
|
4
4
|
Summary: FMU Manipulation Toolbox is a python package which helps to analyze, modify or combine Functional Mock-up Units (FMUs) without recompilation.
|
|
5
5
|
Home-page: https://github.com/grouperenault/fmu_manipulation_toolbox/
|
|
6
6
|
Author: Nicolas.LAURENT@Renault.com
|
|
@@ -52,7 +52,7 @@ class TestSuite:
|
|
|
52
52
|
for i, (lineA, lineB) in enumerate(zip(a, b)):
|
|
53
53
|
if i > 10:
|
|
54
54
|
assert lineA == lineB, \
|
|
55
|
-
f"
|
|
55
|
+
f"files {log_filename} and {ref_filename} missmatch (excl. GUID):\n" \
|
|
56
56
|
f"{lineA}\n" \
|
|
57
57
|
f"vs.\n\n" \
|
|
58
58
|
f"{lineB}"
|
|
@@ -79,11 +79,11 @@ class TestSuite:
|
|
|
79
79
|
if keyword in lineA:
|
|
80
80
|
skip = True
|
|
81
81
|
break
|
|
82
|
-
assert
|
|
83
|
-
f"file {filename1} and {filename2} missmatch:\n"
|
|
84
|
-
f"{lineA}\n"
|
|
85
|
-
f"vs.\n\n"
|
|
86
|
-
f"{lineB}"
|
|
82
|
+
assert skip or lineA == lineB, \
|
|
83
|
+
f"file {filename1} and {filename2} missmatch:\n" \
|
|
84
|
+
f"{lineA}\n" \
|
|
85
|
+
f"vs.\n\n" \
|
|
86
|
+
f"{lineB}"
|
|
87
87
|
|
|
88
88
|
def assert_names_match_ref(self, fmu_filename):
|
|
89
89
|
fmu = FMU(fmu_filename)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'V1.9.2b3'
|
fmu_manipulation_toolbox-1.9.2b3/fmu_manipulation_toolbox/resources/darwin64/container.dylib
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|