private static boolean compareConsumptionModels(ConsumptionModel test, ConsumptionModel test2)
	{
		boolean theSame = true;
		if (test.getOuterN() !=  test2.getOuterN())
			return false;
		if (test.getTotalDuration() != test2.getTotalDuration())
			return false;
		for (int i=0; i<test.getPatterns().length; i++)
		{
			if (test.getN(i) !=  test2.getN(i))
				return false;
			if (test.getPatternDuration(i) != test2.getPatternDuration(i))
				return false;
			for (int j=0; j<test.getPattern(i).size(); j++) 
			{
				if (test.getPattern(i).get(j).getD() != test2.getPattern(i).get(j).getD()) 
					return false;
				if (test.getPattern(i).get(j).getS() != test2.getPattern(i).get(j).getS())
					return false;
				if (test.getPattern(i).get(j).getV() != test2.getPattern(i).get(j).getV())
					return false;
			}
		}
		return theSame;
	}