Program: 33331
Project: 33331
Buggy source:
private Entity createETCollAllPrim(int id){
  Entity entity=new EntityImpl();
  Calendar date=Calendar.getInstance();
  date.set(2014,Calendar.MARCH,19,10,12,0);
  date.set(Calendar.MILLISECOND,0);
  Calendar date2=Calendar.getInstance();
  date2.set(2014,Calendar.JULY,2,13,30,0);
  date2.set(Calendar.MILLISECOND,0);
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Int16,ValueType.PRIMITIVE,id));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Int16,ValueType.COLLECTION_PRIMITIVE,id));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_String,ValueType.COLLECTION_PRIMITIVE,"String_Node_Str","String_Node_Str"));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Boolean,ValueType.COLLECTION_PRIMITIVE,Boolean.TRUE,Boolean.FALSE));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Byte,ValueType.COLLECTION_PRIMITIVE,Byte.valueOf("String_Node_Str"),Byte.valueOf("String_Node_Str")));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_SByte,ValueType.COLLECTION_PRIMITIVE,Short.valueOf("String_Node_Str"),Short.valueOf("String_Node_Str")));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Int32,ValueType.COLLECTION_PRIMITIVE,Integer.MAX_VALUE,Integer.MIN_VALUE));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Int64,ValueType.COLLECTION_PRIMITIVE,Long.MAX_VALUE,Long.MIN_VALUE));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Single,ValueType.COLLECTION_PRIMITIVE,47.11,11.47));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Double,ValueType.COLLECTION_PRIMITIVE,4.711,711.4));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Decimal,ValueType.COLLECTION_PRIMITIVE,4711.1174,1174.4711));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Binary,ValueType.COLLECTION_PRIMITIVE,new byte[]{0x04,0x07,0x01,0x01},"String_Node_Str".getBytes()));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Date,ValueType.COLLECTION_PRIMITIVE,date,date2));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_DateTimeOffset,ValueType.COLLECTION_PRIMITIVE,date.getTime(),date2.getTime()));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Duration,ValueType.COLLECTION_PRIMITIVE,date.getTimeInMillis(),date2.getTimeInMillis()));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Guid,ValueType.COLLECTION_PRIMITIVE,UUID.fromString("String_Node_Str"),UUID.fromString("String_Node_Str")));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_TimeOfDay,ValueType.COLLECTION_PRIMITIVE,date,date2));
  return entity;
}

Fixed version (ground truth):
private Entity createETCollAllPrim(int id){
  Entity entity=new EntityImpl();
  Calendar date=createCalendarInstance();
  date.set(2014,Calendar.MARCH,19,10,12,0);
  date.set(Calendar.MILLISECOND,0);
  Calendar date2=createCalendarInstance();
  date2.set(2014,Calendar.JULY,2,13,30,0);
  date2.set(Calendar.MILLISECOND,0);
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Int16,ValueType.PRIMITIVE,id));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Int16,ValueType.COLLECTION_PRIMITIVE,id));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_String,ValueType.COLLECTION_PRIMITIVE,"String_Node_Str","String_Node_Str"));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Boolean,ValueType.COLLECTION_PRIMITIVE,Boolean.TRUE,Boolean.FALSE));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Byte,ValueType.COLLECTION_PRIMITIVE,Byte.valueOf("String_Node_Str"),Byte.valueOf("String_Node_Str")));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_SByte,ValueType.COLLECTION_PRIMITIVE,Short.valueOf("String_Node_Str"),Short.valueOf("String_Node_Str")));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Int32,ValueType.COLLECTION_PRIMITIVE,Integer.MAX_VALUE,Integer.MIN_VALUE));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Int64,ValueType.COLLECTION_PRIMITIVE,Long.MAX_VALUE,Long.MIN_VALUE));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Single,ValueType.COLLECTION_PRIMITIVE,47.11,11.47));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Double,ValueType.COLLECTION_PRIMITIVE,4.711,711.4));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Decimal,ValueType.COLLECTION_PRIMITIVE,4711.1174,1174.4711));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Binary,ValueType.COLLECTION_PRIMITIVE,new byte[]{0x04,0x07,0x01,0x01},"String_Node_Str".getBytes()));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Date,ValueType.COLLECTION_PRIMITIVE,date,date2));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_DateTimeOffset,ValueType.COLLECTION_PRIMITIVE,date.getTime(),date2.getTime()));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Duration,ValueType.COLLECTION_PRIMITIVE,date.getTimeInMillis(),date2.getTimeInMillis()));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_Guid,ValueType.COLLECTION_PRIMITIVE,UUID.fromString("String_Node_Str"),UUID.fromString("String_Node_Str")));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Collection_TimeOfDay,ValueType.COLLECTION_PRIMITIVE,date,date2));
  return entity;
}