Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/Memory.java
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/Memory.java	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/Memory.java	(revision 1333)
@@ -0,0 +1,30 @@
+package test.appProfConverter;
+import org.w3c.dom.Element;
+
+public class Memory {
+
+	public Memory(Element e) throws Exception {
+		LoadElement(e);
+	}
+
+	private void LoadElement(Element e) throws Exception {
+		if (!e.getTagName().equals("Memory")) {
+			throw new Exception("Invalid element tag.");
+		}
+
+		Capacity = Integer.parseInt(e.getElementsByTagName("Capacity").item(0)
+				.getChildNodes().item(0).getNodeValue().trim());
+	}
+
+	public int Capacity;
+
+	public String ToString() {
+		String str = "";
+		
+		str += "Memory:\n";
+		str += " Capacity: " + Integer.toString(Capacity) + "\n";
+		
+		return str;
+	}
+
+}
Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/AppProfConverterRunner.java
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/AppProfConverterRunner.java	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/AppProfConverterRunner.java	(revision 1333)
@@ -0,0 +1,30 @@
+package test.appProfConverter;
+public class AppProfConverterRunner {
+
+	public static void main(String[] args) {
+		SoftwareProfile appProf, newProf;
+		HardwareProfile hwProf;
+
+		appProf = new SoftwareProfile("src/test/appProfConverter/resources/fakeProfile.xml");
+		appProf.StoreToXml("saved.xml");
+
+		hwProf = new HardwareProfile("src/test/appProfConverter/resources/fakeHW1.xml");
+		newProf = AppProfileConverter.Convert(appProf, hwProf);
+		newProf.StoreToXml("new1.xml");
+
+		hwProf = new HardwareProfile("src/test/appProfConverter/resources/fakeHW3.xml");
+		newProf = AppProfileConverter.Convert(appProf, hwProf);
+		newProf.StoreToXml("new3.xml");
+		
+		hwProf = new HardwareProfile("src/test/appProfConverter/resources/fakeHW2.xml");
+		newProf = AppProfileConverter.Convert(appProf, hwProf);
+		newProf.StoreToXml("new2.xml");
+
+		hwProf = new HardwareProfile(
+				"src/test/appProfConverter/resources/Component_Node_IRIT_i7-16GB-ivy.xml");
+		newProf = AppProfileConverter.Convert(appProf, hwProf);
+		newProf.StoreToXml("new_irit.xml");
+		// System.out.println(newProf.ToString());
+		// System.out.println(hwProf.ToString());
+	}
+}
Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/AppProfileConverter.java
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/AppProfileConverter.java	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/AppProfileConverter.java	(revision 1333)
@@ -0,0 +1,73 @@
+package test.appProfConverter;
+public class AppProfileConverter {
+	static SoftwareProfile Convert(SoftwareProfile refSWProf,
+			HardwareProfile targetHWProf) {
+		SoftwareProfile newProf = new SoftwareProfile();
+
+		newProf.TaskId = refSWProf.TaskId;
+		newProf.Phases = new SoftwarePhase[refSWProf.Phases.length];
+		for (int i = 0; i < newProf.Phases.length; i++) {
+			newProf.Phases[i] = ConvertPhase(refSWProf.Phases[i], targetHWProf);
+		}
+
+		return newProf;
+	}
+
+	private static SoftwarePhase ConvertPhase(SoftwarePhase refPhase,
+			HardwareProfile targetHW) {
+		SoftwarePhase newPhase;
+		double lambda;
+		double refCpuWork; // workload is constant in a phase
+		double loadCpu;
+		double t_cpu, t_nic, t_best;
+
+		newPhase = new SoftwarePhase(refPhase);
+		newPhase.RefNode = targetHW.ComponentId;
+		newPhase.RefFreq = targetHW.proc.MaxClockSpeed;
+		newPhase.RefCores = targetHW.proc.Cores;
+		newPhase.RefDownload = (double) targetHW.nic.MaxBandwidth;
+		newPhase.RefUpload = (double) targetHW.nic.MaxBandwidth;
+
+		refCpuWork = refPhase.RefFreq * refPhase.PM_CPU_Usage
+				* refPhase.Duration * refPhase.RefCores;
+
+		// Best CPU load and time duration
+		loadCpu = Math.min(1.0, refPhase.RefCores * refPhase.PM_CPU_Usage)
+				* Math.min(1.0,
+						((double) newPhase.PM_Threads / newPhase.RefCores));
+		t_cpu = refCpuWork / (newPhase.RefCores * newPhase.RefFreq * loadCpu);
+
+		// Best network time duration
+		t_nic = Math.max((double) newPhase.PM_Upload / newPhase.RefUpload,
+				(double) newPhase.PM_Download / newPhase.RefDownload);
+
+		t_best = Math.max(t_cpu, t_nic);
+
+		// The duration in seconds will impact the load depending on the
+		// approximation error
+		newPhase.Duration = (int) Math.ceil(t_best);
+		// use t_best to debug
+		// newPhase.PM_CPU_Usage = refCpuWork
+		// / (newPhase.RefCores * newPhase.RefFreq * t_best);
+		newPhase.PM_CPU_Usage = refCpuWork
+				/ (newPhase.RefCores * newPhase.RefFreq * newPhase.Duration);
+
+		System.out
+				.printf("l0:%.2f\tl1:%.2f\td0:%d\td1:%d\tc0:%d\tc1:%d\tf0:%.2f\tf1:%.2f\tt0:%d\tt1:%d\n",
+						refPhase.PM_CPU_Usage, newPhase.PM_CPU_Usage,
+						refPhase.Duration, newPhase.Duration,
+						refPhase.RefCores, newPhase.RefCores, refPhase.RefFreq,
+						newPhase.RefFreq, refPhase.PM_Threads,
+						newPhase.PM_Threads);
+
+//		double newCpuWork = newPhase.RefFreq * newPhase.PM_CPU_Usage
+//				* newPhase.Duration * newPhase.RefCores;
+//		if (newCpuWork != refCpuWork) {
+//			System.out.printf("w0:%.2f\tw0:%.2f\n", refCpuWork, newCpuWork);
+//		}
+
+		newPhase.PM_Power = AppPowerEstimator.PhasePower(newPhase, targetHW);
+
+		return newPhase;
+	}
+}
Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/Network.java
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/Network.java	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/Network.java	(revision 1333)
@@ -0,0 +1,33 @@
+package test.appProfConverter;
+import org.w3c.dom.Element;
+
+public class Network {
+
+	public Network(Element e) throws Exception {
+		LoadElement(e);
+	}
+
+	private void LoadElement(Element e) throws Exception {
+		if (!e.getTagName().equals("Network")) {
+			throw new Exception("Invalid element tag.");
+		}
+
+		this.MaxBandwidth = Integer.parseInt(e
+				.getElementsByTagName("MaxBandwidth").item(0).getChildNodes()
+				.item(0).getNodeValue().trim());
+	}
+
+
+	public Integer MaxBandwidth;
+
+	public String ToString() {
+		String str = "";
+
+		str += "Network:\n";
+
+		str += " MaxBandwidth: " + Integer.toString(this.MaxBandwidth) + "\n";
+
+		return str;
+	}
+
+}
Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/Component_Node_IRIT_i7-16GB-ivy.xml
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/Component_Node_IRIT_i7-16GB-ivy.xml	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/Component_Node_IRIT_i7-16GB-ivy.xml	(revision 1333)
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd_1:Node xmlns:xsd_1="http://www.coolemall.eu/DEBBComponent"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://www.coolemall.eu/DEBBComponent DEBBComponents.xsd ">
+	<ComponentId>Node_irit_i7-16GB-ivy</ComponentId>
+	<Label>node_i7-16GB-ivy</Label>
+	<Manufacturer>Kontron</Manufacturer>
+	<Product>COMe-bSC6 i7-3615QE ECC</Product>
+	<MaxPower>50.0</MaxPower>
+	<Type>Node</Type>
+	<Transform>Transform</Transform>
+	<Reference>
+		<Type>STL</Type>
+		<Location>./object/NodeBoard_i7.stl</Location>
+	</Reference>
+	<Reference>
+		<Type>VRML</Type>
+		<Location>./object/NodeBoard_i7.wrl</Location>
+	</Reference>
+	<Heatsink>
+		<Label>Heatsink_1</Label>
+		<Type>Cooler</Type>
+		<Transform>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform>
+		<Reference>
+			<Type>STL</Type>
+			<Location>./object/NodeCooler_i7.stl</Location>
+		</Reference>
+		<Reference>
+			<Type>VRML</Type>
+			<Location>./object/NodeCooler_i7.wrl</Location>
+		</Reference>
+	</Heatsink>
+	<Network>
+		<Interface>eth0</Interface>
+		<Technology>Ethernet</Technology>
+		<MaxBandwidth>1000000000</MaxBandwidth>
+	</Network>
+	<Connector>
+		<ConnectorType>COMExpress Type 2</ConnectorType>
+		<Label>COMExpress</Label>
+		<Transform>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform>
+	</Connector>
+	<Baseboard>
+		<Manufacturer>Kontron</Manufacturer>
+		<Product>COMe-bSC6 ECC</Product>
+		<Type>NodeBoard</Type>
+	</Baseboard>
+	<Processor>
+		<Label>cpu_1</Label>
+		<Manufacturer>Intel</Manufacturer>
+		<Product>i7-3615QE</Product>
+		<MaxClockSpeed>2300</MaxClockSpeed>
+		<Cores>4</Cores>
+		<CState>
+			<State>4</State>
+			<PowerUsage>11.12</PowerUsage>
+		</CState>
+		<PState>
+			<State>1</State>
+			<Frequency>2301.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>34.12</PowerUsageMin>
+			<PowerUsageMax>44.08</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>2</State>
+			<Frequency>2300.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>24.02</PowerUsageMin>
+			<PowerUsageMax>28.68</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>3</State>
+			<Frequency>2200.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>23.04</PowerUsageMin>
+			<PowerUsageMax>27.53</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>4</State>
+			<Frequency>2100.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>22.56</PowerUsageMin>
+			<PowerUsageMax>26.95</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>5</State>
+			<Frequency>2000.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>22.04</PowerUsageMin>
+			<PowerUsageMax>26.02</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>6</State>
+			<Frequency>1900.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>21.95</PowerUsageMin>
+			<PowerUsageMax>25.56</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>7</State>
+			<Frequency>1800.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>21.16</PowerUsageMin>
+			<PowerUsageMax>24.99</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>8</State>
+			<Frequency>1700.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>21.01</PowerUsageMin>
+			<PowerUsageMax>24.03</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>9</State>
+			<Frequency>1600.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>20.05</PowerUsageMin>
+			<PowerUsageMax>23.28</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>10</State>
+			<Frequency>1500.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>19.83</PowerUsageMin>
+			<PowerUsageMax>22.92</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>11</State>
+			<Frequency>1400.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>19.14</PowerUsageMin>
+			<PowerUsageMax>22.00</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>12</State>
+			<Frequency>1300.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>19.05</PowerUsageMin>
+			<PowerUsageMax>21.32</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>13</State>
+			<Frequency>1200.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>18.15</PowerUsageMin>
+			<PowerUsageMax>20.94</PowerUsageMax>
+		</PState>
+		<TDP>45.0</TDP>
+	</Processor>
+	<Memory>
+		<Capacity>16384</Capacity>
+	</Memory>
+</xsd_1:Node>
Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/DEBBComponents.xsd
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/DEBBComponents.xsd	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/DEBBComponents.xsd	(revision 1333)
@@ -0,0 +1,503 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	xmlns:xsd_1="http://www.coolemall.eu/DEBBComponent" targetNamespace="http://www.coolemall.eu/DEBBComponent">
+
+	<xsd:complexType name="ConnectorType">
+		<xsd:sequence>
+			<xsd:element name="Number" type="xsd:int" minOccurs="0"
+				maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>
+						The number is only necessary for describing
+						slots but not the "Uplink" connector
+					</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="ConnectorType" type="xsd:string"
+				minOccurs="1" maxOccurs="1">
+			</xsd:element>
+			<xsd:element name="Label" type="xsd:string" minOccurs="1"
+				maxOccurs="1">
+			</xsd:element>
+			<xsd:element name="Transform" type="xsd:string"
+				minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>The transform element contains relative position
+						and rotations. It might be the same transform syntax than in
+						PLMXML but depend on our needs.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="AvailSpace" type="xsd:string"
+				minOccurs="0" maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>
+						Size as space separated string with max XYZ	sizes
+					</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:complexType name="CoolingDeviceType">
+		<xsd:complexContent>
+			<xsd:extension base="xsd_1:DEBBComplexType">
+				<xsd:sequence>
+					<xsd:element name="Class">
+						<xsd:simpleType>
+							<xsd:restriction base="xsd:string">
+								<xsd:enumeration value="Fan"></xsd:enumeration>
+								<xsd:enumeration value="Refrigeration">
+								</xsd:enumeration>
+								<xsd:enumeration value="Heatpipe"></xsd:enumeration>
+								<xsd:enumeration value="ILC"></xsd:enumeration>
+								<xsd:enumeration value="LCU"></xsd:enumeration>
+								<xsd:enumeration value="CRAH"></xsd:enumeration>
+								<xsd:enumeration value="HVAC"></xsd:enumeration>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element minOccurs="0" name="MaxCoolingCapacity"
+						type="xsd:decimal" />
+					<xsd:element minOccurs="0" name="MaxAirThroughput"
+						type="xsd:decimal" />
+					<xsd:element minOccurs="0" name="MaxWaterThroughput"
+						type="xsd:decimal" />
+					<xsd:element name="AirThroughputProfile" type="xsd_1:FlowProfileType"
+						maxOccurs="1" minOccurs="0"></xsd:element>
+					<xsd:element name="WaterThroughputProfile" type="xsd_1:FlowProfileType"
+						maxOccurs="1" minOccurs="0"></xsd:element>
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+	<xsd:complexType name="CStateType">
+		<xsd:sequence>
+			<xsd:element name="State" type="xsd:int" />
+			<xsd:element name="PowerUsage" type="xsd:double" />
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:complexType name="DEBBComplexType">
+		<xsd:annotation>
+			<xsd:documentation>DEBBComplexType described the more complex parts
+				in comparison to DEBBPhysicalElementsType like power supplies,
+				cooling devices, etc</xsd:documentation>
+		</xsd:annotation>
+		<xsd:complexContent>
+			<xsd:extension base="xsd_1:DEBBSimpleType">
+				<xsd:sequence>
+					<xsd:element name="Inlet" type="xsd_1:OutletType"
+						maxOccurs="unbounded" minOccurs="0">
+					</xsd:element>
+					<xsd:element name="Outlet" type="xsd_1:OutletType"
+						maxOccurs="unbounded" minOccurs="0">
+					</xsd:element>
+					<xsd:element name="Heatsink" type="xsd_1:HeatsinkType"
+						maxOccurs="unbounded" minOccurs="0">
+					</xsd:element>
+					<xsd:element name="Sensor" type="xsd_1:SensorType"
+						maxOccurs="unbounded" minOccurs="0">
+					</xsd:element>
+					<xsd:element name="Network" type="xsd_1:NetworkType"
+						minOccurs="0" maxOccurs="unbounded"></xsd:element>
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+
+	<xsd:complexType name="DEBBComponentType">
+		<xsd:annotation>
+			<xsd:documentation>
+				DEBBComponent is used to represent exactly one DEBB
+				Component as it is used in the project and references by
+				its own ComponentID. In opposite to DEBBPhysicalElement
+				but is not referenced at all since this would lead to a
+				much more complex simulation. Examples for
+				DEBBComponents: Any model of
+				Node/NodeGroup/Rack/ServerRoom/PowerSupply/CoolingDevice/Fan/Sensor/...
+			</xsd:documentation>
+		</xsd:annotation>
+		<xsd:complexContent>
+			<xsd:extension base="xsd_1:DEBBComplexType">
+				<xsd:sequence>
+					<xsd:element name="Connector" type="xsd_1:ConnectorType"
+						minOccurs="0" maxOccurs="1">
+					</xsd:element>
+					<xsd:element name="Slot" type="xsd_1:ConnectorType"
+						minOccurs="0" maxOccurs="unbounded">
+					</xsd:element>
+					<xsd:element name="Size" type="xsd:string" minOccurs="0"
+						maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>
+								Size as space separated string with XYZ sizes
+							</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+	<xsd:complexType name="DEBBPhysicalElementType">
+		<xsd:annotation>
+			<xsd:documentation>DEBBPhysicalElementType is the basic type for all
+				physical existing parts.
+				Examples for DEBBPhysical ElementTypes but not DEBBComplexTypes (memory
+				module, shelves, ...) which might also have a power consumption
+				(normally static)
+				These modules are directly derived from DEBBPhysicalElementType since no
+				additional definition is needed.
+			</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="ComponentId" type="xsd:string"
+				maxOccurs="1" minOccurs="0">
+			</xsd:element>
+			<xsd:element name="Label" type="xsd:string" minOccurs="0"
+				maxOccurs="1">
+			</xsd:element>
+			<xsd:element name="Manufacturer" type="xsd:string"
+				maxOccurs="1" minOccurs="0" />
+			<xsd:element name="Product" type="xsd:string" maxOccurs="1"
+				minOccurs="0" />
+			<xsd:element name="MaxPower" type="xsd:float" maxOccurs="1"
+				minOccurs="0">
+				<xsd:annotation>
+					<xsd:documentation>
+						MaxPowerUsage is the theoretical limit of power
+						consumption and may used for designing
+					</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:choice>
+				<xsd:element name="PowerUsage" type="xsd:double" minOccurs="0" maxOccurs="1"></xsd:element>
+				<xsd:element name="PowerUsageState"
+					type="xsd_1:FlowStateType" minOccurs="0" maxOccurs="1">
+				</xsd:element>
+				<xsd:element name="PowerUsageProfile"
+					type="xsd_1:FlowProfileType" minOccurs="0" maxOccurs="1">
+				</xsd:element>
+			</xsd:choice>
+			<xsd:element name="Type" type="xsd:string" minOccurs="0"
+				maxOccurs="1">
+				<xsd:annotation>
+					<xsd:documentation>
+						The type element might be used to specify a type
+						for the module, i.e. for memory DDR/DDR2, for
+						CPU architecture name etc. It has only
+						informational character.
+					</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:complexType name="DEBBSimpleType">
+		<xsd:annotation>
+			<xsd:documentation>
+				SimpleType describes all distinct devices for CAD, so
+				where Transform and id/name are necessary. On the other
+				side the memory or CPU are nor relevant for that.
+			</xsd:documentation>
+		</xsd:annotation>
+		<xsd:complexContent>
+			<xsd:extension base="xsd_1:DEBBPhysicalElementType">
+				<xsd:sequence>
+					<xsd:element name="Transform" type="xsd:string"
+						minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>The Transform tag is necessary for all part
+								which are located within a Component i.e. fans within a RECS or
+								sensors or. For The "root object of a DEBB it is not used.
+								For all parts at a fixed position within the DEBB (fans, sensors,
+								etc.) this is the transform matrix relative to the DEBB origin.
+								For DEBBComponents this is the relative position of the
+								connector to the DEBB's origin. By "adding" the relative
+								transforms the resulting transform can be directly used for
+								PLMXML.
+							</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="Reference" type="xsd_1:ReferenceType"
+						minOccurs="0" maxOccurs="unbounded"></xsd:element>
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+	<xsd:complexType name="FlowProfileType">
+		<xsd:annotation>
+			<xsd:documentation>FlowProfile describes any sort of flow (air,
+				liquid, energy, ...) including different discrete states and
+				possible transitions since they all have the same characteristic
+				attributes. If there are now significant transition times/energy
+				consumptions they are simple omitted</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="Name" type="xsd:string" minOccurs="0"
+				maxOccurs="1"></xsd:element>
+			<xsd:element name="FlowState" type="xsd_1:FlowStateType"
+				minOccurs="1" maxOccurs="unbounded" />
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:complexType name="FlowStateType">
+		<xsd:annotation>
+			<xsd:documentation>FlowStateType describes any kind of flow (air,
+				liquid, power, ...) and assumes that for maintaining the flow a
+				certain power usage is necessary.
+				For power supply units only the power which is used for
+				creating/transforming the power flow is counted as PowerUsage, but
+				not the power provided. So adding all PowerUsages will show the
+				overall consumption
+			</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="State" type="xsd:string"></xsd:element>
+			<xsd:element name="Flow" type="xsd:double" maxOccurs="1"
+				minOccurs="0">
+			</xsd:element>
+			<xsd:element name="PowerUsage" type="xsd:double"
+				maxOccurs="1" minOccurs="0">
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:complexType name="HeatsinkType">
+		<xsd:complexContent>
+			<xsd:extension base="xsd_1:DEBBSimpleType">
+				<xsd:sequence>
+					<xsd:element name="TransferRate" type="xsd:float"
+						minOccurs="0" maxOccurs="1"></xsd:element>
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+	<xsd:complexType name="MemoryType">
+		<xsd:complexContent>
+			<xsd:extension base="xsd_1:DEBBPhysicalElementType">
+				<xsd:sequence>
+					<!-- Size of Capacity in MB -->
+					<xsd:element name="Capacity" type="xsd:unsignedInt" />
+					<xsd:element name="Interface" type="xsd:string"
+						minOccurs="0" maxOccurs="1"></xsd:element>
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+	<xsd:complexType name="NetworkType">
+		<xsd:complexContent>
+			<xsd:extension base="xsd_1:DEBBPhysicalElementType">
+				<xsd:sequence>
+					<xsd:element name="Interface" type="xsd:string"
+						minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Physical Interface description like fibre,
+								twisted pair, etc.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="Technology" type="xsd:string"
+						minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>10GE, IB QDR etc.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="MaxBandwidth" type="xsd:int"
+						minOccurs="0" maxOccurs="1">
+						<xsd:annotation>
+							<xsd:documentation>Bandwidth as number in bit/s
+							</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+	<xsd:complexType name="NodeType">
+		<xsd:complexContent>
+			<xsd:extension base="xsd_1:DEBBComponentType">
+				<xsd:sequence>
+					<xsd:element name="Baseboard" type="xsd_1:DEBBPhysicalElementType" />
+					<xsd:element name="Processor" maxOccurs="unbounded"
+						type="xsd_1:ProcessorType" />
+					<xsd:element name="Memory" maxOccurs="unbounded" type="xsd_1:MemoryType" />
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+	<xsd:complexType name="OutletType">
+		<xsd:complexContent>
+			<xsd:extension base="xsd_1:DEBBSimpleType">
+				<xsd:sequence>
+					<xsd:element name="MaxRPM" type="xsd:int" minOccurs="0"
+						maxOccurs="1"></xsd:element>
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+	<xsd:complexType name="PowerSupplyType">
+		<xsd:complexContent>
+			<xsd:extension base="xsd_1:DEBBComplexType">
+				<xsd:sequence>
+					<xsd:element name="Class">
+						<xsd:simpleType>
+							<xsd:restriction base="xsd:string">
+								<xsd:enumeration value="PSU"></xsd:enumeration>
+								<xsd:enumeration value="UPS"></xsd:enumeration>
+								<xsd:enumeration value="PDU"></xsd:enumeration>
+								<xsd:enumeration value="MVLVTransformer"></xsd:enumeration>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<!-- maximum output power of the PowerSupply metered in miliWatt -->
+					<xsd:element name="TotalOutputPower" type="xsd:decimal" />
+					<xsd:element name="Efficiency" type="xsd:int"></xsd:element>
+					<xsd:element name="PowerProfile" type="xsd_1:FlowProfileType"
+						maxOccurs="1" minOccurs="0"></xsd:element>
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+	<xsd:complexType name="ProcessorType">
+		<xsd:complexContent>
+			<xsd:extension base="xsd_1:DEBBPhysicalElementType">
+				<xsd:sequence>
+					<!-- Maximum Clockfrequency of CPU in MHz</xsd:documentation></xsd:annotation -->
+					<xsd:element name="MaxClockSpeed" type="xsd:unsignedInt" />
+					<xsd:element name="Cores" type="xsd:int" maxOccurs="1"
+						minOccurs="0"></xsd:element>
+					<xsd:element name="PState" type="xsd_1:PStateType"
+						minOccurs="0" maxOccurs="unbounded">
+					</xsd:element>
+					<xsd:element name="CState" type="xsd_1:CStateType"
+						minOccurs="0" maxOccurs="unbounded">
+					</xsd:element>
+					<xsd:element name="TDP" type="xsd:float" minOccurs="0"
+						maxOccurs="1">
+					</xsd:element>
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+	<xsd:complexType name="PStateType">
+		<xsd:sequence>
+			<xsd:element name="State" type="xsd:int" />
+			<xsd:element name="Frequency" type="xsd:double" />
+			<xsd:element name="Voltage" type="xsd:double" />
+			<xsd:element name="PowerUsageMin" type="xsd:double" />
+			<xsd:element name="PowerUsageMax" type="xsd:double" />
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:complexType name="ReferenceType">
+		<xsd:annotation>
+			<xsd:documentation>
+				ReferenceType describes references to external files
+				like STL, VRML, etc. and consists of a type and path.
+			</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="Type" type="xsd:string" minOccurs="1"
+				maxOccurs="1">
+			</xsd:element>
+			<xsd:element name="Location" type="xsd:string" minOccurs="1"
+				maxOccurs="1"></xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:complexType name="SensorType">
+		<xsd:complexContent>
+			<xsd:extension base="xsd_1:DEBBSimpleType">
+				<xsd:sequence>
+					<xsd:element name="Class">
+						<xsd:simpleType>
+							<xsd:restriction base="xsd:string">
+								<xsd:enumeration value="Temperature"></xsd:enumeration>
+								<xsd:enumeration value="Voltage"></xsd:enumeration>
+								<xsd:enumeration value="Power"></xsd:enumeration>
+								<xsd:enumeration value="Humidity"></xsd:enumeration>
+								<xsd:enumeration value="Throughput"></xsd:enumeration>
+								<xsd:enumeration value="Velocity"></xsd:enumeration>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element name="Unit">
+						<xsd:annotation>
+							<xsd:documentation>Only basic units should be used. For later
+								development other units can be used then the Factor should be
+								added.</xsd:documentation>
+						</xsd:annotation>
+						<xsd:simpleType>
+							<xsd:restriction base="xsd:string">
+								<xsd:enumeration value="Â°C"></xsd:enumeration>
+								<xsd:enumeration value="V"></xsd:enumeration>
+								<xsd:enumeration value="mV"></xsd:enumeration>
+								<xsd:enumeration value="kV"></xsd:enumeration>
+								<xsd:enumeration value="W"></xsd:enumeration>
+								<xsd:enumeration value="mW"></xsd:enumeration>
+								<xsd:enumeration value="kW"></xsd:enumeration>
+								<xsd:enumeration value="MW"></xsd:enumeration>
+								<xsd:enumeration value="%"></xsd:enumeration>
+								<xsd:enumeration value="l/sec"></xsd:enumeration>
+								<xsd:enumeration value="l/min"></xsd:enumeration>
+								<xsd:enumeration value="l/h"></xsd:enumeration>
+								<xsd:enumeration value="m3/min"></xsd:enumeration>
+								<xsd:enumeration value="m3/h"></xsd:enumeration>
+								<xsd:enumeration value="m/s"></xsd:enumeration>
+								<xsd:enumeration value="km/h"></xsd:enumeration>
+							</xsd:restriction>
+						</xsd:simpleType>
+					</xsd:element>
+					<xsd:element name="MinValue" type="xsd:float"
+						maxOccurs="1" minOccurs="0">
+					</xsd:element>
+					<xsd:element name="MaxValue" type="xsd:float"
+						maxOccurs="1" minOccurs="0">
+					</xsd:element>
+					<xsd:element name="Factor" type="xsd:float" maxOccurs="1"
+						minOccurs="0">
+						<xsd:annotation>
+							<xsd:documentation>Factor is just the multiplier between the
+								currently used unit and the basic unit (i.e. litre to cubic
+								meter)</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+					<xsd:element name="Accuracy" type="xsd:float"
+						maxOccurs="1" minOccurs="0">
+					</xsd:element>
+					<xsd:element name="Input" type="xsd:boolean">
+						<xsd:annotation>
+							<xsd:documentation>Input is a flag describing that a sensors is a
+								input value for the simulation or not. for example heat sources
+								can be seen an sources without any output afterwards. Other
+								sensors migth be added for extracting results at the end of the
+								simulation.</xsd:documentation>
+						</xsd:annotation>
+					</xsd:element>
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+	<xsd:element name="Node" type="xsd_1:NodeType"></xsd:element>
+	<xsd:element name="NodeGroup" type="xsd_1:DEBBComponentType"></xsd:element>
+	<xsd:element name="ComputeBox1" type="xsd_1:DEBBComponentType"></xsd:element>
+	<xsd:element name="ComputeBox2" type="xsd_1:DEBBComponentType"></xsd:element>
+	<xsd:element name="PowerSupply" type="xsd_1:PowerSupplyType"></xsd:element>
+	<xsd:element name="CoolingDevice" type="xsd_1:CoolingDeviceType"></xsd:element>
+	<xsd:element name="Inlet" type="xsd_1:OutletType"></xsd:element>
+	<xsd:element name="Outlet" type="xsd_1:OutletType"></xsd:element>
+	<xsd:element name="Heatsink" type="xsd_1:HeatsinkType"></xsd:element>
+	<xsd:element name="Sensor" type="xsd_1:SensorType"></xsd:element>
+
+</xsd:schema>
Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/Component_Node_PSNC_i7-16GB-sandy.xml
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/Component_Node_PSNC_i7-16GB-sandy.xml	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/Component_Node_PSNC_i7-16GB-sandy.xml	(revision 1333)
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd_1:Node xmlns:xsd_1="http://www.coolemall.eu/DEBBComponent" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.coolemall.eu/DEBBComponent DEBBComponents.xsd ">
+  <ComponentId>Node_psnc_i7-16GB-sandy</ComponentId>
+  <Label>node_i7-16GB-sandy</Label>
+  <Manufacturer>kontron</Manufacturer>
+  <Product>COMe-bSC2 i7-2715QE ECC</Product>
+  <MaxPower>45.0</MaxPower>
+  <Type>Node</Type>
+  <Transform>Transform</Transform>
+  <Reference>
+    <Type>STL</Type>
+    <Location>./object/NodeBoard_i7.stl</Location>
+  </Reference>
+  <Reference>
+    <Type>VRML</Type>
+    <Location>./object/NodeBoard_i7.wrl</Location>
+  </Reference>
+  <Heatsink>
+    <Label>Heatsink_1</Label>
+    <Type>Cooler</Type>
+    <Transform>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform>
+    <Reference>
+      <Type>STL</Type>
+      <Location>./object/NodeCooler_i7.stl</Location>
+    </Reference>
+    <Reference>
+      <Type>VRML</Type>
+      <Location>./object/NodeCooler_i7.wrl</Location>
+    </Reference>
+  </Heatsink>
+  <Network>
+  	<Interface>eth0</Interface>
+  	<Technology>Ethernet</Technology>
+  	<MaxBandwidth>1000000000</MaxBandwidth>
+  </Network>
+  <Connector>
+    <ConnectorType>COMExpress Type 2</ConnectorType>
+    <Label>COMExpress</Label>
+    <Transform>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform>
+  </Connector>
+  <Baseboard>
+    <Manufacturer>kontron</Manufacturer>
+    <Product>COMe-bSC2</Product>
+    <Type>NodeBoard</Type>
+  </Baseboard>
+  <Processor>
+    <Label>cpu_1</Label>
+    <Manufacturer>Intel</Manufacturer>
+    <Product>i7-2715QE</Product>
+    <MaxClockSpeed>2100</MaxClockSpeed>
+    <Cores>4</Cores>
+    <PState>
+    	<State>1</State>
+    	<Frequency>2101.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>22.2</PowerUsageMin>
+    	<PowerUsageMax>42.8</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>2</State>
+    	<Frequency>2100.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>12.6</PowerUsageMin>
+    	<PowerUsageMax>35.7</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>3</State>
+    	<Frequency>2000.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>22.7</PowerUsageMin>
+    	<PowerUsageMax>31.9</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>4</State>
+    	<Frequency>1900.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>12.0</PowerUsageMin>
+    	<PowerUsageMax>28.6</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>5</State>
+    	<Frequency>1800.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>12.5</PowerUsageMin>
+    	<PowerUsageMax>27.1</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>6</State>
+    	<Frequency>1700.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>12.2</PowerUsageMin>
+    	<PowerUsageMax>25.8</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>7</State>
+    	<Frequency>1600.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>9.7</PowerUsageMin>
+    	<PowerUsageMax>24.4</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>8</State>
+    	<Frequency>1500.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>11.2</PowerUsageMin>
+    	<PowerUsageMax>22.5</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>9</State>
+    	<Frequency>1400.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>9.5</PowerUsageMin>
+    	<PowerUsageMax>20.6</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>10</State>
+    	<Frequency>1300.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>10.2</PowerUsageMin>
+    	<PowerUsageMax>19.0</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>11</State>
+    	<Frequency>1200.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>9.6</PowerUsageMin>
+    	<PowerUsageMax>17.2</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>12</State>
+    	<Frequency>1100.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>8.4</PowerUsageMin>
+    	<PowerUsageMax>16.3</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>13</State>
+    	<Frequency>1000.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>8.1</PowerUsageMin>
+    	<PowerUsageMax>14.8</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>14</State>
+    	<Frequency>900.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>8.7</PowerUsageMin>
+    	<PowerUsageMax>13.9</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>15</State>
+    	<Frequency>800.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>8.1</PowerUsageMin>
+    	<PowerUsageMax>12.7</PowerUsageMax>
+    </PState>
+    <TDP>45.0</TDP>
+  </Processor>
+  <Memory>
+    <Capacity>16384</Capacity>
+  </Memory>
+</xsd_1:Node>
Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/fakeHW1.xml
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/fakeHW1.xml	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/fakeHW1.xml	(revision 1333)
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd_1:Node xmlns:xsd_1="http://www.coolemall.eu/DEBBComponent"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://www.coolemall.eu/DEBBComponent DEBBComponents.xsd ">
+	<ComponentId>fake_node1</ComponentId>
+	<Label>node_i7-16GB-ivy</Label>
+	<Manufacturer>Kontron</Manufacturer>
+	<Product>COMe-bSC6 i7-3615QE ECC</Product>
+	<MaxPower>50.0</MaxPower>
+	<Type>Node</Type>
+	<Transform>Transform</Transform>
+	<Reference>
+		<Type>STL</Type>
+		<Location>./object/NodeBoard_i7.stl</Location>
+	</Reference>
+	<Reference>
+		<Type>VRML</Type>
+		<Location>./object/NodeBoard_i7.wrl</Location>
+	</Reference>
+	<Heatsink>
+		<Label>Heatsink_1</Label>
+		<Type>Cooler</Type>
+		<Transform>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform>
+		<Reference>
+			<Type>STL</Type>
+			<Location>./object/NodeCooler_i7.stl</Location>
+		</Reference>
+		<Reference>
+			<Type>VRML</Type>
+			<Location>./object/NodeCooler_i7.wrl</Location>
+		</Reference>
+	</Heatsink>
+	<Network>
+		<Interface>eth0</Interface>
+		<Technology>Ethernet</Technology>
+		<MaxBandwidth>1000000000</MaxBandwidth>
+	</Network>
+	<Connector>
+		<ConnectorType>COMExpress Type 2</ConnectorType>
+		<Label>COMExpress</Label>
+		<Transform>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform>
+	</Connector>
+	<Baseboard>
+		<Manufacturer>Kontron</Manufacturer>
+		<Product>COMe-bSC6 ECC</Product>
+		<Type>NodeBoard</Type>
+	</Baseboard>
+	<Processor>
+		<Label>cpu_1</Label>
+		<Manufacturer>Intel</Manufacturer>
+		<Product>i7-3615QE</Product>
+		<MaxClockSpeed>1000</MaxClockSpeed>
+		<Cores>1</Cores>
+		<CState>
+			<State>4</State>
+			<PowerUsage>11.12</PowerUsage>
+		</CState>
+		<PState>
+			<State>1</State>
+			<Frequency>2301.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>34.12</PowerUsageMin>
+			<PowerUsageMax>44.08</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>2</State>
+			<Frequency>2300.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>24.02</PowerUsageMin>
+			<PowerUsageMax>28.68</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>3</State>
+			<Frequency>2200.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>23.04</PowerUsageMin>
+			<PowerUsageMax>27.53</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>4</State>
+			<Frequency>2100.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>22.56</PowerUsageMin>
+			<PowerUsageMax>26.95</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>5</State>
+			<Frequency>2000.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>22.04</PowerUsageMin>
+			<PowerUsageMax>26.02</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>6</State>
+			<Frequency>1900.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>21.95</PowerUsageMin>
+			<PowerUsageMax>25.56</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>7</State>
+			<Frequency>1800.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>21.16</PowerUsageMin>
+			<PowerUsageMax>24.99</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>8</State>
+			<Frequency>1700.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>21.01</PowerUsageMin>
+			<PowerUsageMax>24.03</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>9</State>
+			<Frequency>1600.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>20.05</PowerUsageMin>
+			<PowerUsageMax>23.28</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>10</State>
+			<Frequency>1500.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>19.83</PowerUsageMin>
+			<PowerUsageMax>22.92</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>11</State>
+			<Frequency>1400.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>19.14</PowerUsageMin>
+			<PowerUsageMax>22.00</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>12</State>
+			<Frequency>1300.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>19.05</PowerUsageMin>
+			<PowerUsageMax>21.32</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>13</State>
+			<Frequency>1200.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>18.15</PowerUsageMin>
+			<PowerUsageMax>20.94</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>13</State>
+			<Frequency>1000.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>18.15</PowerUsageMin>
+			<PowerUsageMax>20.94</PowerUsageMax>
+		</PState>
+		<TDP>45.0</TDP>
+	</Processor>
+	<Memory>
+		<Capacity>16384</Capacity>
+	</Memory>
+</xsd_1:Node>
Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/fakeHW2.xml
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/fakeHW2.xml	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/fakeHW2.xml	(revision 1333)
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd_1:Node xmlns:xsd_1="http://www.coolemall.eu/DEBBComponent"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://www.coolemall.eu/DEBBComponent DEBBComponents.xsd ">
+	<ComponentId>fake_node2</ComponentId>
+	<Label>node_i7-16GB-ivy</Label>
+	<Manufacturer>Kontron</Manufacturer>
+	<Product>COMe-bSC6 i7-3615QE ECC</Product>
+	<MaxPower>50.0</MaxPower>
+	<Type>Node</Type>
+	<Transform>Transform</Transform>
+	<Reference>
+		<Type>STL</Type>
+		<Location>./object/NodeBoard_i7.stl</Location>
+	</Reference>
+	<Reference>
+		<Type>VRML</Type>
+		<Location>./object/NodeBoard_i7.wrl</Location>
+	</Reference>
+	<Heatsink>
+		<Label>Heatsink_1</Label>
+		<Type>Cooler</Type>
+		<Transform>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform>
+		<Reference>
+			<Type>STL</Type>
+			<Location>./object/NodeCooler_i7.stl</Location>
+		</Reference>
+		<Reference>
+			<Type>VRML</Type>
+			<Location>./object/NodeCooler_i7.wrl</Location>
+		</Reference>
+	</Heatsink>
+	<Network>
+		<Interface>eth0</Interface>
+		<Technology>Ethernet</Technology>
+		<MaxBandwidth>1000000000</MaxBandwidth>
+	</Network>
+	<Connector>
+		<ConnectorType>COMExpress Type 2</ConnectorType>
+		<Label>COMExpress</Label>
+		<Transform>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform>
+	</Connector>
+	<Baseboard>
+		<Manufacturer>Kontron</Manufacturer>
+		<Product>COMe-bSC6 ECC</Product>
+		<Type>NodeBoard</Type>
+	</Baseboard>
+	<Processor>
+		<Label>cpu_1</Label>
+		<Manufacturer>Intel</Manufacturer>
+		<Product>i7-3615QE</Product>
+		<MaxClockSpeed>2200</MaxClockSpeed>
+		<Cores>8</Cores>
+		<CState>
+			<State>4</State>
+			<PowerUsage>11.12</PowerUsage>
+		</CState>
+		<PState>
+			<State>1</State>
+			<Frequency>2301.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>34.12</PowerUsageMin>
+			<PowerUsageMax>44.08</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>2</State>
+			<Frequency>2300.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>24.02</PowerUsageMin>
+			<PowerUsageMax>28.68</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>3</State>
+			<Frequency>2200.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>23.04</PowerUsageMin>
+			<PowerUsageMax>27.53</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>4</State>
+			<Frequency>2100.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>22.56</PowerUsageMin>
+			<PowerUsageMax>26.95</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>5</State>
+			<Frequency>2000.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>22.04</PowerUsageMin>
+			<PowerUsageMax>26.02</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>6</State>
+			<Frequency>1900.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>21.95</PowerUsageMin>
+			<PowerUsageMax>25.56</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>7</State>
+			<Frequency>1800.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>21.16</PowerUsageMin>
+			<PowerUsageMax>24.99</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>8</State>
+			<Frequency>1700.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>21.01</PowerUsageMin>
+			<PowerUsageMax>24.03</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>9</State>
+			<Frequency>1600.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>20.05</PowerUsageMin>
+			<PowerUsageMax>23.28</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>10</State>
+			<Frequency>1500.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>19.83</PowerUsageMin>
+			<PowerUsageMax>22.92</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>11</State>
+			<Frequency>1400.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>19.14</PowerUsageMin>
+			<PowerUsageMax>22.00</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>12</State>
+			<Frequency>1300.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>19.05</PowerUsageMin>
+			<PowerUsageMax>21.32</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>13</State>
+			<Frequency>1200.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>18.15</PowerUsageMin>
+			<PowerUsageMax>20.94</PowerUsageMax>
+		</PState>
+		<TDP>45.0</TDP>
+	</Processor>
+	<Memory>
+		<Capacity>16384</Capacity>
+	</Memory>
+</xsd_1:Node>
Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/fakeProfile.xml
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/fakeProfile.xml	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/fakeProfile.xml	(revision 1333)
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<job id="Testwget" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:noNamespaceSchemaLocation="../QCGJobDescriptionSchemaNew.xsd">
+	<task id="wget">
+		<execution>
+			<resourceConsumptionProfile>
+				<resourceConsumption>
+					<!-- Low Freq / CPU intensive phase -->
+					<referenceHardware>
+						<reference name="node">fake_node</reference>
+						<reference name="cpu_maxfreq">1000</reference>
+						<reference name="cpu_cores">4</reference>
+					</referenceHardware>
+					<duration>PT10S</duration>
+					<behaviour name="PM_Power">
+						<value>0.0</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>0.0</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>0.0</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.0</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.25</value>
+					</behaviour>
+					<behaviour name="PM_Threads">
+						<value>1</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>0.0</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>0.0</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<!-- Low Freq / CPU intensive phase -->
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1000</reference>
+						<reference name="cpu_cores">4</reference>
+					</referenceHardware>
+					<duration>PT10S</duration>
+					<behaviour name="PM_Power">
+						<value>0.0</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>0.0</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>0.0</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.0</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>1.0</value>
+					</behaviour>
+					<behaviour name="PM_Threads">
+						<value>4</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>0.0</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>0.0</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<!-- Low Freq / CPU intensive phase -->
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1000</reference>
+						<reference name="cpu_cores">4</reference>
+					</referenceHardware>
+					<duration>PT10S</duration>
+					<behaviour name="PM_Power">
+						<value>0.0</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>0.0</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>0.0</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.0</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>1.0</value>
+					</behaviour>
+					<behaviour name="PM_Threads">
+						<value>8</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>0.0</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>0.0</value>
+					</behaviour>
+				</resourceConsumption>
+			</resourceConsumptionProfile>
+		</execution>
+	</task>
+</job>
Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/wgetProfile.xml
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/wgetProfile.xml	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/wgetProfile.xml	(revision 1333)
@@ -0,0 +1,1130 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<job id="Testwget" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:noNamespaceSchemaLocation="../QCGJobDescriptionSchemaNew.xsd">
+	<task id="wget">
+		<execution>
+			<resourceConsumptionProfile>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT5S</duration>
+					<behaviour name="PM_Power">
+						<value>0.132150</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>4188569.600000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.001260</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>1410745.200000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>3313.200000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.109905</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2131968.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000630</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2141553.000000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4488.000000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.109795</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2029568.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000628</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2224444.500000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4009.500000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.109275</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2025472.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000630</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2127170.000000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4455.000000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.121733</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2033664.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000945</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2108623.500000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4603.500000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT5S</duration>
+					<behaviour name="PM_Power">
+						<value>0.115430</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2047180.800000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000754</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2154724.800000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4408.800000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.099488</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2026496.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000313</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2105595.500000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4570.500000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.111238</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2131968.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000628</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2186594.500000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4669.500000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.109984</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2025472.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000633</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2163884.500000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4339.500000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT5S</duration>
+					<behaviour name="PM_Power">
+						<value>0.123711</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2052915.200000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.001005</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2152605.200000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4237.200000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.109892</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2025472.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000629</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2142688.500000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4438.500000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.111434</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2033664.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000634</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2132090.500000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4570.500000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.111381</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2025472.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000632</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2121871.000000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4521.000000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.110172</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2131968.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000639</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2208547.500000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4537.500000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.111355</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2026496.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000633</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2161235.000000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4455.000000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT5S</duration>
+					<behaviour name="PM_Power">
+						<value>0.114533</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2047180.800000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000761</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2150788.400000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4448.400000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.111277</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2025472.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000628</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2113544.000000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4554.000000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.111251</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2025472.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000628</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2112030.000000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4455.000000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.120440</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2131968.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000949</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2212711.000000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4686.000000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.121772</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2025472.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000947</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2126413.000000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4488.000000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.098424</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2033664.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000323</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2151394.000000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4389.000000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.121038</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2030592.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000945</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2146095.000000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4620.000000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.108202</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2033664.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000535</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2135473.500000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4504.500000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.099580</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2131968.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000316</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2129819.500000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>7804.500000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT5S</duration>
+					<behaviour name="PM_Power">
+						<value>0.115554</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2046361.600000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000758</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2138676.400000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>28340.400000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.109918</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2033664.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000630</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2114890.500000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>28231.500000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.100899</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2131968.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000314</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2195211.500000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>28198.500000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.123574</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>1923072.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.001042</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>1906883.000000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>26763.000000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.105968</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>3732480.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000468</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>3854644.000000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>51579.000000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT5S</duration>
+					<behaviour name="PM_Power">
+						<value>0.090535</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>688947.200000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000000</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>701587.600000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>9543.600000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.107946</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2238464.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000570</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2298252.000000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>30987.000000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.110744</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>1918976.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000612</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>1982204.500000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>26284.500000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.106356</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2033664.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000522</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2112408.500000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>28033.500000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.100939</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2025472.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000316</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2079479.000000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>27984.000000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT5S</duration>
+					<behaviour name="PM_Power">
+						<value>0.106010</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2046361.600000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000502</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2074482.800000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>27970.800000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.111369</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2030592.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000631</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2106352.500000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>27967.500000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT6S</duration>
+					<behaviour name="PM_Power">
+						<value>0.104391</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2066432.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000448</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2123889.666667</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>28413.000000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT5S</duration>
+					<behaviour name="PM_Power">
+						<value>0.105703</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2047180.800000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000477</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2105671.200000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>27535.200000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT4S</duration>
+					<behaviour name="PM_Power">
+						<value>0.104485</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>2136064.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000466</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>2173725.500000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>29485.500000</value>
+					</behaviour>
+				</resourceConsumption>
+				<resourceConsumption>
+					<referenceHardware>
+						<reference name="node">i7_0_06</reference>
+						<reference name="cpu_maxfreq">1200</reference>
+					</referenceHardware>
+					<duration>PT15S</duration>
+					<behaviour name="PM_Power">
+						<value>0.091399</value>
+					</behaviour>
+					<behaviour name="PM_Disk_IO">
+						<value>426257.066667</value>
+					</behaviour>
+					<behaviour name="PM_Memory_RSS">
+						<value>460.000000</value>
+					</behaviour>
+					<behaviour name="PM_Memory_Usage">
+						<value>0.000112</value>
+					</behaviour>
+					<behaviour name="PM_CPU_Usage">
+						<value>0.000027</value>
+					</behaviour>
+					<behaviour name="PM_Download">
+						<value>340083.400000</value>
+					</behaviour>
+					<behaviour name="PM_Upload">
+						<value>4655.200000</value>
+					</behaviour>
+				</resourceConsumption>
+			</resourceConsumptionProfile>
+		</execution>
+	</task>
+</job>
Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/fakeHW3.xml
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/fakeHW3.xml	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/fakeHW3.xml	(revision 1333)
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd_1:Node xmlns:xsd_1="http://www.coolemall.eu/DEBBComponent"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://www.coolemall.eu/DEBBComponent DEBBComponents.xsd ">
+	<ComponentId>fake_node1</ComponentId>
+	<Label>node_i7-16GB-ivy</Label>
+	<Manufacturer>Kontron</Manufacturer>
+	<Product>COMe-bSC6 i7-3615QE ECC</Product>
+	<MaxPower>50.0</MaxPower>
+	<Type>Node</Type>
+	<Transform>Transform</Transform>
+	<Reference>
+		<Type>STL</Type>
+		<Location>./object/NodeBoard_i7.stl</Location>
+	</Reference>
+	<Reference>
+		<Type>VRML</Type>
+		<Location>./object/NodeBoard_i7.wrl</Location>
+	</Reference>
+	<Heatsink>
+		<Label>Heatsink_1</Label>
+		<Type>Cooler</Type>
+		<Transform>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform>
+		<Reference>
+			<Type>STL</Type>
+			<Location>./object/NodeCooler_i7.stl</Location>
+		</Reference>
+		<Reference>
+			<Type>VRML</Type>
+			<Location>./object/NodeCooler_i7.wrl</Location>
+		</Reference>
+	</Heatsink>
+	<Network>
+		<Interface>eth0</Interface>
+		<Technology>Ethernet</Technology>
+		<MaxBandwidth>1000000000</MaxBandwidth>
+	</Network>
+	<Connector>
+		<ConnectorType>COMExpress Type 2</ConnectorType>
+		<Label>COMExpress</Label>
+		<Transform>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform>
+	</Connector>
+	<Baseboard>
+		<Manufacturer>Kontron</Manufacturer>
+		<Product>COMe-bSC6 ECC</Product>
+		<Type>NodeBoard</Type>
+	</Baseboard>
+	<Processor>
+		<Label>cpu_1</Label>
+		<Manufacturer>Intel</Manufacturer>
+		<Product>i7-3615QE</Product>
+		<MaxClockSpeed>1000</MaxClockSpeed>
+		<Cores>2</Cores>
+		<CState>
+			<State>4</State>
+			<PowerUsage>11.12</PowerUsage>
+		</CState>
+		<PState>
+			<State>1</State>
+			<Frequency>2301.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>34.12</PowerUsageMin>
+			<PowerUsageMax>44.08</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>2</State>
+			<Frequency>2300.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>24.02</PowerUsageMin>
+			<PowerUsageMax>28.68</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>3</State>
+			<Frequency>2200.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>23.04</PowerUsageMin>
+			<PowerUsageMax>27.53</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>4</State>
+			<Frequency>2100.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>22.56</PowerUsageMin>
+			<PowerUsageMax>26.95</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>5</State>
+			<Frequency>2000.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>22.04</PowerUsageMin>
+			<PowerUsageMax>26.02</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>6</State>
+			<Frequency>1900.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>21.95</PowerUsageMin>
+			<PowerUsageMax>25.56</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>7</State>
+			<Frequency>1800.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>21.16</PowerUsageMin>
+			<PowerUsageMax>24.99</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>8</State>
+			<Frequency>1700.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>21.01</PowerUsageMin>
+			<PowerUsageMax>24.03</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>9</State>
+			<Frequency>1600.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>20.05</PowerUsageMin>
+			<PowerUsageMax>23.28</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>10</State>
+			<Frequency>1500.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>19.83</PowerUsageMin>
+			<PowerUsageMax>22.92</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>11</State>
+			<Frequency>1400.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>19.14</PowerUsageMin>
+			<PowerUsageMax>22.00</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>12</State>
+			<Frequency>1300.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>19.05</PowerUsageMin>
+			<PowerUsageMax>21.32</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>13</State>
+			<Frequency>1200.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>18.15</PowerUsageMin>
+			<PowerUsageMax>20.94</PowerUsageMax>
+		</PState>
+		<PState>
+			<State>13</State>
+			<Frequency>1000.0</Frequency>
+			<Voltage>0.0</Voltage>
+			<PowerUsageMin>18.15</PowerUsageMin>
+			<PowerUsageMax>20.94</PowerUsageMax>
+		</PState>
+		<TDP>45.0</TDP>
+	</Processor>
+	<Memory>
+		<Capacity>16384</Capacity>
+	</Memory>
+</xsd_1:Node>
Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/Component_Test_Node_PSNC_FusionGT40N.xml
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/Component_Test_Node_PSNC_FusionGT40N.xml	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/Component_Test_Node_PSNC_FusionGT40N.xml	(revision 1333)
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd_1:Node xmlns:xsd_1="http://www.coolemall.eu/DEBBComponent" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.coolemall.eu/DEBBComponent DEBBComponents.xsd ">
+  <ComponentId>Node_psnc_FusionGT40N</ComponentId>
+  <Label>node_FusionGT40N</Label>
+  <Manufacturer>Congatec</Manufacturer>
+  <Product>conga-BAF/T40N</Product>
+  <MaxPower>15.0</MaxPower>
+  <Type>Node</Type>
+  <Transform>Transform</Transform>
+  <Reference>
+    <Type>STL</Type>
+    <Location>./object/NodeBoard_Core2Duo.stl</Location>
+  </Reference>
+  <Reference>
+    <Type>VRML</Type>
+    <Location>./object/NodeBoard_Core2Duo.wrl</Location>
+  </Reference>
+  <Heatsink>
+    <Label>Heatsink_1</Label>
+    <Type>Cooler</Type>
+    <Transform>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform>
+    <Reference>
+      <Type>STL</Type>
+      <Location>./object/NodeCooler_Core2Duo.stl</Location>
+    </Reference>
+    <Reference>
+      <Type>VRML</Type>
+      <Location>./object/NodeCooler_Core2Duo.wrl</Location>
+    </Reference>
+  </Heatsink>
+  <Network>
+  	<Interface>eth0</Interface>
+  	<Technology>Ethernet</Technology>
+  	<MaxBandwidth>1000000000</MaxBandwidth>
+  </Network>
+  <Connector>
+    <ConnectorType>COMExpress Type 2</ConnectorType>
+    <Label>COMExpress</Label>
+    <Transform>Transform</Transform>
+  </Connector>
+  <Baseboard>
+    <Manufacturer>Congatec</Manufacturer>
+    <Product>conga-BAF</Product>
+    <MaxPower>12.0</MaxPower>
+    <PowerUsage>10.0</PowerUsage>
+    <Type>NodeBoard</Type>
+  </Baseboard>
+  <Processor>
+    <Label>CPU_1</Label>
+    <Manufacturer>AMD</Manufacturer>
+    <Product>Fusion G-T40N</Product>
+    <MaxClockSpeed>900</MaxClockSpeed>
+    <Cores>2</Cores>
+    <PState>
+    	<State>1</State>
+    	<Frequency>1000.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>11.2</PowerUsageMin>
+    	<PowerUsageMax>11.5</PowerUsageMax>
+    	<LoadPowerUsage>
+    		<Load>0.25</Load>
+    		<PowerUsage>11.2</PowerUsage>
+    	</LoadPowerUsage>
+    	<LoadPowerUsage>
+    		<Load>1.00</Load>
+    		<PowerUsage>11.5</PowerUsage>
+    	</LoadPowerUsage>
+    </PState>
+    <PState>
+    	<State>2</State>
+    	<Frequency>800.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>11.0</PowerUsageMin>
+    	<PowerUsageMax>11.6</PowerUsageMax>
+    	<LoadPowerUsage>
+    		<Load>0.25</Load>
+    		<PowerUsage>11.0</PowerUsage>
+    	</LoadPowerUsage>
+    	    	<LoadPowerUsage>
+    		<Load>1.00</Load>
+    		<PowerUsage>11.6</PowerUsage>
+    	</LoadPowerUsage>
+    </PState>
+    <TDP>9.0</TDP>
+  </Processor>
+  <Memory>
+    <Capacity>4096</Capacity>
+  </Memory>
+</xsd_1:Node>
Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/Component_Node_PSNC_FusionGT40N.xml
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/Component_Node_PSNC_FusionGT40N.xml	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/Component_Node_PSNC_FusionGT40N.xml	(revision 1333)
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd_1:Node xmlns:xsd_1="http://www.coolemall.eu/DEBBComponent" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.coolemall.eu/DEBBComponent DEBBComponents.xsd ">
+  <ComponentId>Node_psnc_FusionGT40N</ComponentId>
+  <Label>node_FusionGT40N</Label>
+  <Manufacturer>Congatec</Manufacturer>
+  <Product>conga-BAF/T40N</Product>
+  <MaxPower>15.0</MaxPower>
+  <Type>Node</Type>
+  <Transform>Transform</Transform>
+  <Reference>
+    <Type>STL</Type>
+    <Location>./object/NodeBoard_Core2Duo.stl</Location>
+  </Reference>
+  <Reference>
+    <Type>VRML</Type>
+    <Location>./object/NodeBoard_Core2Duo.wrl</Location>
+  </Reference>
+  <Heatsink>
+    <Label>Heatsink_1</Label>
+    <Type>Cooler</Type>
+    <Transform>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform>
+    <Reference>
+      <Type>STL</Type>
+      <Location>./object/NodeCooler_Core2Duo.stl</Location>
+    </Reference>
+    <Reference>
+      <Type>VRML</Type>
+      <Location>./object/NodeCooler_Core2Duo.wrl</Location>
+    </Reference>
+  </Heatsink>
+  <Network>
+  	<Interface>eth0</Interface>
+  	<Technology>Ethernet</Technology>
+  	<MaxBandwidth>1000000000</MaxBandwidth>
+  </Network>
+  <Connector>
+    <ConnectorType>COMExpress Type 2</ConnectorType>
+    <Label>COMExpress</Label>
+    <Transform>Transform</Transform>
+  </Connector>
+  <Baseboard>
+    <Manufacturer>Congatec</Manufacturer>
+    <Product>conga-BAF</Product>
+    <MaxPower>12.0</MaxPower>
+    <PowerUsage>10.0</PowerUsage>
+    <Type>NodeBoard</Type>
+  </Baseboard>
+  <Processor>
+    <Label>CPU_1</Label>
+    <Manufacturer>AMD</Manufacturer>
+    <Product>Fusion G-T40N</Product>
+    <MaxClockSpeed>900</MaxClockSpeed>
+    <Cores>2</Cores>
+    <PState>
+    	<State>1</State>
+    	<Frequency>1000.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>11.2</PowerUsageMin>
+    	<PowerUsageMax>11.5</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>2</State>
+    	<Frequency>800.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>11.0</PowerUsageMin>
+    	<PowerUsageMax>11.6</PowerUsageMax>
+    </PState>
+    <TDP>9.0</TDP>
+  </Processor>
+  <Memory>
+    <Capacity>4096</Capacity>
+  </Memory>
+</xsd_1:Node>
Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/Component_Node_PSNC_i7-16GB-ivy.xml
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/Component_Node_PSNC_i7-16GB-ivy.xml	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/resources/Component_Node_PSNC_i7-16GB-ivy.xml	(revision 1333)
@@ -0,0 +1,148 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd_1:Node xmlns:xsd_1="http://www.coolemall.eu/DEBBComponent" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.coolemall.eu/DEBBComponent DEBBComponents.xsd ">
+  <ComponentId>Node_psnc_i7-16GB-ivy</ComponentId>
+  <Label>node_i7-16GB-ivy</Label>
+  <Manufacturer>Kontron</Manufacturer>
+  <Product>COMe-bSC6 i7-3615QE ECC</Product>
+  <MaxPower>50.0</MaxPower>
+  <Type>Node</Type>
+  <Transform>Transform</Transform>
+  <Reference>
+    <Type>STL</Type>
+    <Location>./object/NodeBoard_i7.stl</Location>
+  </Reference>
+  <Reference>
+    <Type>VRML</Type>
+    <Location>./object/NodeBoard_i7.wrl</Location>
+  </Reference>
+  <Heatsink>
+    <Label>Heatsink_1</Label>
+    <Type>Cooler</Type>
+    <Transform>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform>
+    <Reference>
+      <Type>STL</Type>
+      <Location>./object/NodeCooler_i7.stl</Location>
+    </Reference>
+    <Reference>
+      <Type>VRML</Type>
+      <Location>./object/NodeCooler_i7.wrl</Location>
+    </Reference>
+  </Heatsink>
+  <Network>
+  	<Interface>eth0</Interface>
+  	<Technology>Ethernet</Technology>
+  	<MaxBandwidth>1000000000</MaxBandwidth>
+  </Network>
+  <Connector>
+    <ConnectorType>COMExpress Type 2</ConnectorType>
+    <Label>COMExpress</Label>
+    <Transform>1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</Transform>
+  </Connector>
+  <Baseboard>
+    <Manufacturer>Kontron</Manufacturer>
+    <Product>COMe-bSC6 ECC</Product>
+    <Type>NodeBoard</Type>
+  </Baseboard>
+  <Processor>
+    <Label>cpu_1</Label>
+    <Manufacturer>Intel</Manufacturer>
+    <Product>i7-3615QE</Product>
+    <MaxClockSpeed>2300</MaxClockSpeed>
+    <Cores>4</Cores>
+    <PState>
+    	<State>1</State>
+    	<Frequency>2301.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>18.90</PowerUsageMin>
+    	<PowerUsageMax>52.05</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>2</State>
+    	<Frequency>2300.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>16.2</PowerUsageMin>
+    	<PowerUsageMax>30.8</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>3</State>
+    	<Frequency>2200.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>16.3</PowerUsageMin>
+    	<PowerUsageMax>30.2</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>4</State>
+    	<Frequency>2100.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>17.8</PowerUsageMin>
+    	<PowerUsageMax>28.0</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>5</State>
+    	<Frequency>2000.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>17.7</PowerUsageMin>
+    	<PowerUsageMax>28.7</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>6</State>
+    	<Frequency>1900.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>17.4</PowerUsageMin>
+    	<PowerUsageMax>27.4</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>7</State>
+    	<Frequency>1800.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>15.1</PowerUsageMin>
+    	<PowerUsageMax>25.9</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>8</State>
+    	<Frequency>1700.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>15.2</PowerUsageMin>
+    	<PowerUsageMax>25.7</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>9</State>
+    	<Frequency>1600.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>14.8</PowerUsageMin>
+    	<PowerUsageMax>24.5</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>10</State>
+    	<Frequency>1500.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>13.9</PowerUsageMin>
+    	<PowerUsageMax>23.5</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>11</State>
+    	<Frequency>1400.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>12.7</PowerUsageMin>
+    	<PowerUsageMax>23.0</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>12</State>
+    	<Frequency>1300.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>15.1</PowerUsageMin>
+    	<PowerUsageMax>21.7</PowerUsageMax>
+    </PState>
+    <PState>
+    	<State>13</State>
+    	<Frequency>1200.0</Frequency>
+    	<Voltage>0.0</Voltage>
+    	<PowerUsageMin>12.1</PowerUsageMin>
+    	<PowerUsageMax>21.0</PowerUsageMax>
+    </PState>
+    <TDP>45.0</TDP>
+  </Processor>
+  <Memory>
+    <Capacity>16384</Capacity>
+  </Memory>
+</xsd_1:Node>
Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/SoftwarePhase.java
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/SoftwarePhase.java	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/SoftwarePhase.java	(revision 1333)
@@ -0,0 +1,72 @@
+package test.appProfConverter;
+public class SoftwarePhase {
+	public String RefNode;
+	public Integer RefCores;
+	public Double RefFreq;
+	public Double RefUpload; // Network max upload speed
+	public Double RefDownload; // Network max download speed
+	public Double RefDiskBW; // Disk Bandwidth
+	public Double PM_Power;
+	public Double PM_Disk_IO;
+	public Double PM_Memory_RSS;
+	public Double PM_Download;
+	public Double PM_CPU_Usage;
+	public Integer PM_Threads;
+	public Double PM_Memory_Usage;
+	public Double PM_Upload;
+	public Integer Duration;
+
+	public SoftwarePhase(SoftwarePhase other) {
+		this.RefNode = other.RefNode;
+		this.RefCores = other.RefCores;
+		this.RefFreq = other.RefFreq;
+		this.RefUpload = other.RefUpload;
+		this.RefDownload = other.RefDownload;
+		this.RefDiskBW = other.RefDiskBW;
+		this.PM_Power = other.PM_Power;
+		this.PM_CPU_Usage = other.PM_CPU_Usage;
+		this.PM_Memory_RSS = other.PM_Memory_RSS;
+		this.PM_Memory_Usage = other.PM_Memory_Usage;
+		this.PM_Disk_IO = other.PM_Disk_IO;
+		this.PM_Download = other.PM_Download;
+		this.PM_Threads = other.PM_Threads;
+		this.PM_Upload = other.PM_Upload;
+		this.Duration = other.Duration;
+	}
+
+	public SoftwarePhase() {
+		this.RefNode = "";
+		this.RefCores = 1;
+		this.RefFreq = 0.0;
+		this.RefUpload = 0.0;
+		this.RefDownload = 0.0;
+		this.RefDiskBW = 0.0;
+		this.PM_Power = 0.0;
+		this.PM_CPU_Usage = 0.0;
+		this.PM_Memory_RSS = 0.0;
+		this.PM_Memory_Usage = 0.0;
+		this.PM_Disk_IO = 0.0;
+		this.PM_Download = 0.0;
+		this.PM_Upload = 0.0;
+		this.PM_Threads = 1;
+		this.Duration = 0;
+	}
+
+	public String ToString() {
+		String str;
+
+		str = "Phase";
+		str += " Duration (s):        " + this.Duration + "\n";
+		str += " Reference Node:      " + this.RefNode + "\n";
+		str += " Reference Frequency: " + this.RefFreq + "\n";
+		str += " PM_Power:            " + this.PM_Power + "\n";
+		str += " PM_CPU_Usage:        " + this.PM_CPU_Usage + "\n";
+		str += " PM_Memory_RSS:       " + this.PM_Memory_RSS + "\n";
+		str += " PM_Memory_Usage:     " + this.PM_Memory_Usage + "\n";
+		str += " PM_Disk_IO:          " + this.PM_Disk_IO + "\n";
+		str += " PM_Download:         " + this.PM_Download + "\n";
+		str += " PM_Upload:           " + this.PM_Upload + "\n";
+
+		return str;
+	}
+}
Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/SoftwareProfile.java
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/SoftwareProfile.java	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/SoftwareProfile.java	(revision 1333)
@@ -0,0 +1,351 @@
+package test.appProfConverter;
+import java.io.File;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.transform.stream.StreamResult;
+
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+
+public class SoftwareProfile {
+
+	public SoftwareProfile(String fileName) {
+		this.LoadFromXml(fileName);
+	}
+
+	public SoftwareProfile() {
+		this.TaskId = null;
+		this.Phases = null;
+	}
+
+	public String ToString() {
+		String str = "";
+
+		str += "Task Id: " + this.TaskId + "\n";
+		for (SoftwarePhase phase : Phases) {
+			str += phase.ToString();
+		}
+
+		return str;
+	}
+
+	public void StoreToXml(String fileName) {
+		try {
+			DocumentBuilderFactory docFactory = DocumentBuilderFactory
+					.newInstance();
+			DocumentBuilder docBuilder = docFactory.newDocumentBuilder();
+
+			// root elements
+			Document doc = docBuilder.newDocument();
+			Element rootElement = doc.createElement("job");
+			doc.appendChild(rootElement);
+			rootElement.setAttribute("xmlns:xsi",
+					"http://www.w3.org/2001/XMLSchema-instance");
+			rootElement.setAttribute("xsi:noNamespaceSchemaLocation",
+					"../QCGJobDescriptionSchemaNew.xsd");
+
+			// staff elements
+			Element task = doc.createElement("task");
+			rootElement.appendChild(task);
+
+			// set attribute to staff element
+			task.setAttribute("id", this.TaskId);
+
+			Element execution = doc.createElement("execution");
+			task.appendChild(execution);
+
+			Element resourceConsumptionProfile = doc
+					.createElement("resourceConsumptionProfile");
+			execution.appendChild(resourceConsumptionProfile);
+
+			for (int i = 0; i < this.Phases.length; i++) {
+				Element resourceConsumption = doc
+						.createElement("resourceConsumption");
+				resourceConsumptionProfile.appendChild(resourceConsumption);
+
+				Element referenceHardware = doc
+						.createElement("referenceHardware");
+				resourceConsumption.appendChild(referenceHardware);
+
+				Element referenceNode = doc.createElement("reference");
+				referenceNode.setAttribute("name", "node");
+				referenceNode.appendChild(doc
+						.createTextNode(this.Phases[i].RefNode));
+				referenceHardware.appendChild(referenceNode);
+
+				Element referenceCores = doc.createElement("reference");
+				referenceCores.setAttribute("name", "cpu_cores");
+				referenceCores.appendChild(doc.createTextNode(Integer
+						.toString(this.Phases[i].RefCores)));
+				referenceHardware.appendChild(referenceCores);
+				
+				Element referenceFreq = doc.createElement("reference");
+				referenceFreq.setAttribute("name", "cpu_maxfreq");
+				referenceFreq.appendChild(doc.createTextNode(Double
+						.toString(this.Phases[i].RefFreq)));
+				referenceHardware.appendChild(referenceFreq);
+
+				Element duration = doc.createElement("duration");
+				resourceConsumption.appendChild(duration);
+				duration.appendChild(doc.createTextNode("PT"
+						+ Integer.toString(this.Phases[i].Duration) + "S"));
+
+				Element behaviour, value;
+				behaviour = doc.createElement("behaviour");
+				resourceConsumption.appendChild(behaviour);
+				behaviour.setAttribute("name", "PM_Power");
+				value = doc.createElement("value");
+				behaviour.appendChild(value);
+				value.appendChild(doc.createTextNode(Double
+						.toString(this.Phases[i].PM_Power)));
+
+				behaviour = doc.createElement("behaviour");
+				resourceConsumption.appendChild(behaviour);
+				behaviour.setAttribute("name", "PM_Disk_IO");
+				value = doc.createElement("value");
+				behaviour.appendChild(value);
+				value.appendChild(doc.createTextNode(Double
+						.toString(this.Phases[i].PM_Disk_IO)));
+
+				behaviour = doc.createElement("behaviour");
+				resourceConsumption.appendChild(behaviour);
+				behaviour.setAttribute("name", "PM_Memory_RSS");
+				value = doc.createElement("value");
+				behaviour.appendChild(value);
+				value.appendChild(doc.createTextNode(Double
+						.toString(this.Phases[i].PM_Memory_RSS)));
+
+				behaviour = doc.createElement("behaviour");
+				resourceConsumption.appendChild(behaviour);
+				behaviour.setAttribute("name", "PM_Memory_Usage");
+				value = doc.createElement("value");
+				behaviour.appendChild(value);
+				value.appendChild(doc.createTextNode(Double
+						.toString(this.Phases[i].PM_Memory_Usage)));
+
+				behaviour = doc.createElement("behaviour");
+				resourceConsumption.appendChild(behaviour);
+				behaviour.setAttribute("name", "PM_CPU_Usage");
+				value = doc.createElement("value");
+				behaviour.appendChild(value);
+				value.appendChild(doc.createTextNode(Double
+						.toString(this.Phases[i].PM_CPU_Usage)));
+
+				behaviour = doc.createElement("behaviour");
+				resourceConsumption.appendChild(behaviour);
+				behaviour.setAttribute("name", "PM_Threads");
+				value = doc.createElement("value");
+				behaviour.appendChild(value);
+				value.appendChild(doc.createTextNode(Integer
+						.toString(this.Phases[i].PM_Threads)));
+
+				behaviour = doc.createElement("behaviour");
+				resourceConsumption.appendChild(behaviour);
+				behaviour.setAttribute("name", "PM_Download");
+				value = doc.createElement("value");
+				behaviour.appendChild(value);
+				value.appendChild(doc.createTextNode(Double
+						.toString(this.Phases[i].PM_Download)));
+
+				behaviour = doc.createElement("behaviour");
+				resourceConsumption.appendChild(behaviour);
+				behaviour.setAttribute("name", "PM_Upload");
+				value = doc.createElement("value");
+				behaviour.appendChild(value);
+				value.appendChild(doc.createTextNode(Double
+						.toString(this.Phases[i].PM_Upload)));
+			}
+
+			// write the content into xml file
+			TransformerFactory transformerFactory = TransformerFactory
+					.newInstance();
+			Transformer transformer = transformerFactory.newTransformer();
+			DOMSource source = new DOMSource(doc);
+			StreamResult result = new StreamResult(new File(fileName));
+
+			// Output to console for testing
+			// StreamResult result = new StreamResult(System.out);
+
+			transformer.transform(source, result);
+
+		} catch (ParserConfigurationException pce) {
+			pce.printStackTrace();
+		} catch (TransformerException tfe) {
+			tfe.printStackTrace();
+		}
+	}
+
+	public void LoadFromXml(String fileName) {
+		try {
+			DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory
+					.newInstance();
+			DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
+			Document doc = docBuilder.parse(new File(fileName));
+			NodeList nl;
+
+			// task id="wget"
+			Element e = (Element) doc.getElementsByTagName("task").item(0)
+					.getChildNodes();
+			this.TaskId = e.getAttributes().getNamedItem("id").getNodeValue()
+					.trim();
+
+			NodeList listOfAppPhases = doc
+					.getElementsByTagName("resourceConsumption");
+
+			int nPhases = listOfAppPhases.getLength();
+			Phases = new SoftwarePhase[nPhases];
+
+			for (int p = 0; p < nPhases; p++) {
+				Node phaseNode = listOfAppPhases.item(p);
+				SoftwarePhase swPhase = new SoftwarePhase();
+
+				if (phaseNode.getNodeType() == Node.ELEMENT_NODE) {
+
+					Element phaseElement = (Element) phaseNode;
+
+					// Phase Duration
+					nl = phaseElement.getElementsByTagName("duration");
+
+					NodeList textList = nl.item(0).getChildNodes();
+					if (textList.item(0).getNodeValue().trim().startsWith("PT")) {
+						String str = textList.item(0).getNodeValue().trim();
+						swPhase.Duration = Integer.parseInt(str.substring(2,
+								str.length() - 1));
+						if (str.endsWith("S")) {
+							;
+						} else if (str.endsWith("M")) {
+							swPhase.Duration *= 60;
+						} else if (str.endsWith("H")) {
+							swPhase.Duration *= 3600;
+						} else {
+							throw new Exception(
+									"Invalid software phase duration.");
+						}
+					}
+
+					// Reference Hardware
+					nl = phaseElement.getElementsByTagName("reference");
+					for (int r = 0; r < nl.getLength(); r++) {
+						String name = nl.item(r).getAttributes()
+								.getNamedItem("name").getNodeValue();
+						if (name.equals("node")) {
+							swPhase.RefNode = nl.item(r).getChildNodes()
+									.item(0).getNodeValue().trim();
+						}
+						if (name.equals("cpu_cores")) {
+							swPhase.RefCores = Integer.parseInt(nl
+									.item(r).getChildNodes().item(0)
+									.getNodeValue().trim());
+						}
+						if (name.equals("cpu_maxfreq")) {
+							swPhase.RefFreq = Double.parseDouble(nl
+									.item(r).getChildNodes().item(0)
+									.getNodeValue().trim());
+						}
+					}
+
+					// Application Behavior
+					nl = phaseElement.getElementsByTagName("behaviour");
+					for (int b = 0; b < nl.getLength(); b++) {
+						String name = nl.item(b).getAttributes()
+								.getNamedItem("name").getNodeValue();
+						if (name.equals("PM_Power")) {
+							NodeList nl2 = nl.item(b).getChildNodes();
+							Element e2 = (Element) nl.item(b);
+							nl2 = e2.getElementsByTagName("value");
+							textList = nl2.item(0).getChildNodes();
+							swPhase.PM_Power = Double.parseDouble(textList
+									.item(0).getNodeValue().trim());
+						}
+						if (name.equals("PM_Disk_IO")) {
+							NodeList nl2 = nl.item(b).getChildNodes();
+							Element e2 = (Element) nl.item(b);
+							nl2 = e2.getElementsByTagName("value");
+							textList = nl2.item(0).getChildNodes();
+							swPhase.PM_Disk_IO = Double.parseDouble(textList
+									.item(0).getNodeValue().trim());
+						}
+						if (name.equals("PM_Memory_RSS")) {
+							NodeList nl2 = nl.item(b).getChildNodes();
+							Element e2 = (Element) nl.item(b);
+							nl2 = e2.getElementsByTagName("value");
+							textList = nl2.item(0).getChildNodes();
+							swPhase.PM_Memory_RSS = Double.parseDouble(textList
+									.item(0).getNodeValue().trim());
+						}
+						if (name.equals("PM_Memory_Usage")) {
+							NodeList nl2 = nl.item(b).getChildNodes();
+							Element e2 = (Element) nl.item(b);
+							nl2 = e2.getElementsByTagName("value");
+							textList = nl2.item(0).getChildNodes();
+							swPhase.PM_Memory_Usage = Double
+									.parseDouble(textList.item(0)
+											.getNodeValue().trim());
+						}
+						if (name.equals("PM_CPU_Usage")) {
+							NodeList nl2 = nl.item(b).getChildNodes();
+							Element e2 = (Element) nl.item(b);
+							nl2 = e2.getElementsByTagName("value");
+							textList = nl2.item(0).getChildNodes();
+							swPhase.PM_CPU_Usage = Double.parseDouble(textList
+									.item(0).getNodeValue().trim());
+						}
+						if (name.equals("PM_Threads")) {
+							NodeList nl2 = nl.item(b).getChildNodes();
+							Element e2 = (Element) nl.item(b);
+							nl2 = e2.getElementsByTagName("value");
+							textList = nl2.item(0).getChildNodes();
+							swPhase.PM_Threads = Integer.parseInt(textList
+									.item(0).getNodeValue().trim());
+						}
+						if (name.equals("PM_Download")) {
+							NodeList nl2 = nl.item(b).getChildNodes();
+							Element e2 = (Element) nl.item(b);
+							nl2 = e2.getElementsByTagName("value");
+							textList = nl2.item(0).getChildNodes();
+							swPhase.PM_Download = Double.parseDouble(textList
+									.item(0).getNodeValue().trim());
+						}
+						if (name.equals("PM_Upload")) {
+							NodeList nl2 = nl.item(b).getChildNodes();
+							Element e2 = (Element) nl.item(b);
+							nl2 = e2.getElementsByTagName("value");
+							textList = nl2.item(0).getChildNodes();
+							swPhase.PM_Upload = Double.parseDouble(textList
+									.item(0).getNodeValue().trim());
+						}
+					}
+
+					Phases[p] = swPhase;
+
+				}// end of if clause
+
+			}// end of for loop with s var
+
+		} catch (SAXParseException err) {
+			System.out.println("** Parsing error" + ", line "
+					+ err.getLineNumber() + ", uri " + err.getSystemId());
+			System.out.println(" " + err.getMessage());
+
+		} catch (SAXException e) {
+			Exception x = e.getException();
+			((x == null) ? e : x).printStackTrace();
+
+		} catch (Throwable t) {
+			t.printStackTrace();
+		}
+	}
+
+	public String TaskId;
+	public SoftwarePhase[] Phases;
+}
Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/HardwareProfile.java
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/HardwareProfile.java	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/HardwareProfile.java	(revision 1333)
@@ -0,0 +1,69 @@
+package test.appProfConverter;
+import java.io.File;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+
+public class HardwareProfile {
+
+	public HardwareProfile(String fileName) {
+		this.LoadFromXml(fileName);
+	}
+
+	public String ToString() {
+		String str = "";
+
+		str += "Componend Id: " + this.ComponentId + "\n";
+		str += proc.ToString();
+		str += mem.ToString();
+		str += nic.ToString();
+
+		return str;
+	}
+
+	public void LoadFromXml(String fileName) {
+		try {
+			DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory
+					.newInstance();
+			DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
+			Document doc = docBuilder.parse(new File(fileName));
+
+			Element e;
+
+			e = (Element) doc.getElementsByTagName("ComponentId").item(0);
+			this.ComponentId = e.getChildNodes().item(0).getNodeValue();
+
+			e = (Element) doc.getElementsByTagName("Processor").item(0);
+			this.proc = new Processor(e);
+
+			e = (Element) doc.getElementsByTagName("Memory").item(0);
+			this.mem = new Memory(e);
+
+			e = (Element) doc.getElementsByTagName("Network").item(0);
+			this.nic = new Network(e);
+
+		} catch (SAXParseException err) {
+			System.out.println("** Parsing error" + ", line "
+					+ err.getLineNumber() + ", uri " + err.getSystemId());
+			System.out.println(" " + err.getMessage());
+
+		} catch (SAXException e) {
+			Exception x = e.getException();
+			((x == null) ? e : x).printStackTrace();
+
+		} catch (Throwable t) {
+			t.printStackTrace();
+		}
+	}
+
+	public String ComponentId;
+	public Processor proc;
+	public Memory mem;
+	public Network nic;
+
+}
Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/Processor.java
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/Processor.java	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/Processor.java	(revision 1333)
@@ -0,0 +1,53 @@
+package test.appProfConverter;
+import java.util.HashMap;
+import java.util.Map;
+
+import org.w3c.dom.Element;
+import org.w3c.dom.NodeList;
+
+public class Processor {
+	public Processor(Element e) throws Exception {
+		LoadElement(e);
+	}
+
+	private void LoadElement(Element e) throws Exception {
+		if (!e.getTagName().equals("Processor")) {
+			throw new Exception("Invalid element tag.");
+		}
+
+		MaxClockSpeed = Double.parseDouble(e
+				.getElementsByTagName("MaxClockSpeed").item(0).getChildNodes()
+				.item(0).getNodeValue().trim());
+		Cores = Integer.parseInt(e.getElementsByTagName("Cores").item(0)
+				.getChildNodes().item(0).getNodeValue().trim());
+
+		NodeList nl = e.getElementsByTagName("PState");
+		Pstate = new PhaseState[nl.getLength()];
+		Pstate_map = new HashMap<Double, PhaseState>();
+		for (int i = 0; i < Pstate.length; i++) {
+			Element pstateEl = (Element) nl.item(i);
+			PhaseState ps = new PhaseState(pstateEl);
+			Pstate[i] = ps;
+			Pstate_map.put(ps.Frequency, ps);
+		}
+	}
+
+	public Double MaxClockSpeed;
+	public Integer Cores;
+	public PhaseState Pstate[];
+	public Map<Double, PhaseState> Pstate_map;
+
+	public String ToString() {
+		String str = "";
+
+		str += "Processor:\n";
+		str += " MaxClockSpeed: " + this.MaxClockSpeed + "\n";
+		str += " Cores:         " + Integer.toString(this.Cores) + "\n";
+		str += " PStates:\n";
+		for (int i = 0; i < Pstate.length; i++) {
+			str += Pstate[i].ToString();
+		}
+
+		return str;
+	}
+}
Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/PhaseState.java
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/PhaseState.java	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/PhaseState.java	(revision 1333)
@@ -0,0 +1,44 @@
+package test.appProfConverter;
+import org.w3c.dom.Element;
+
+public class PhaseState {
+	public PhaseState(Element e) throws Exception {
+		LoadElement(e);
+	}
+
+	private void LoadElement(Element e) throws Exception {
+		if (!e.getTagName().equals("PState")) {
+			throw new Exception("Invalid element tag.");
+		}
+
+		State = Integer.parseInt(e.getElementsByTagName("State").item(0)
+				.getChildNodes().item(0).getNodeValue().trim());
+		Frequency = Double.parseDouble(e.getElementsByTagName("Frequency")
+				.item(0).getChildNodes().item(0).getNodeValue().trim());
+		Voltage = Double.parseDouble(e.getElementsByTagName("Voltage").item(0)
+				.getChildNodes().item(0).getNodeValue().trim());
+		PowerUsageMin = Double.parseDouble(e
+				.getElementsByTagName("PowerUsageMin").item(0).getChildNodes()
+				.item(0).getNodeValue().trim());
+		PowerUsageMax = Double.parseDouble(e
+				.getElementsByTagName("PowerUsageMax").item(0).getChildNodes()
+				.item(0).getNodeValue().trim());
+	}
+
+	public Integer State;
+	public Double Frequency;
+	public Double Voltage;
+	public Double PowerUsageMin;
+	public Double PowerUsageMax;
+
+	public String ToString() {
+		String str = "";
+		str += "  State Id:       " + this.State + "\n";
+		str += "   Frequency:     " + Double.toString(this.Frequency) + " MHz\n";
+		str += "   Voltage:       " + Double.toString(this.Voltage) + " V\n";
+		str += "   PowerUsageMin: " + Double.toString(this.PowerUsageMin) + " W\n";
+		str += "   PowerUsageMax: " + Double.toString(this.PowerUsageMax) + " W\n";
+		return str;
+	}
+
+}
Index: DCWoRMS/branches/coolemall/src/test/appProfConverter/AppPowerEstimator.java
===================================================================
--- DCWoRMS/branches/coolemall/src/test/appProfConverter/AppPowerEstimator.java	(revision 1333)
+++ DCWoRMS/branches/coolemall/src/test/appProfConverter/AppPowerEstimator.java	(revision 1333)
@@ -0,0 +1,14 @@
+package test.appProfConverter;
+public class AppPowerEstimator {
+
+	public static Double PhasePower(SoftwarePhase phase, HardwareProfile hwProf) {
+		Double pow = 0.0;
+
+		PhaseState pstate = hwProf.proc.Pstate_map.get(phase.RefFreq);
+
+		pow = (pstate.PowerUsageMax - pstate.PowerUsageMin)
+				* phase.PM_CPU_Usage;
+
+		return pow;
+	}
+}
