def map_inputs(building_name, inputs, mapping):
	"""
	Maps inputs from OPC server to EnergyPlus

	Inputs:
	building_name- The name of the building
	inputs- [(name, value, status, timestamp)] from opc
	Outputs:
	[value]- List of values, in the order specified by E+
	"""
	input_tags = mapping[building_name]["Inputs"]
	ret = []
	for tag in input_tags:
		matching_input = [t for t in inputs if t[0] == tag]
		ret.append(matching_input[0][1])

	return ret